Skip to content

Commit 28c1cb4

Browse files
committed
Make it possible to publish edge without base
1 parent 152b302 commit 28c1cb4

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Rakefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,17 +282,24 @@ namespace :release do
282282
task :publish => ['publish:ask', 'publish:tag', 'publish:rubygems', 'publish:post_steps']
283283

284284
namespace :publish do
285-
publish_base = true
286-
publish_edge = false
285+
publish_base = nil
286+
publish_edge = nil
287287

288288
task :ask do
289289
begin
290290
STDOUT.puts 'Do you want to publish anything now? (y/n)'
291291
input = STDIN.gets.strip.downcase
292292
end until %w(y n).include?(input)
293293
exit 1 if input == 'n'
294+
295+
begin
296+
STDOUT.puts 'Do you want to publish `concurrent-ruby`? (y/n)'
297+
input = STDIN.gets.strip.downcase
298+
end until %w(y n).include?(input)
299+
publish_base = input == 'y'
300+
294301
begin
295-
STDOUT.puts 'It will publish `concurrent-ruby`. Do you want to publish `concurrent-ruby-edge`? (y/n)'
302+
STDOUT.puts 'Do you want to publish `concurrent-ruby-edge`? (y/n)'
296303
input = STDIN.gets.strip.downcase
297304
end until %w(y n).include?(input)
298305
publish_edge = input == 'y'

0 commit comments

Comments
 (0)