File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -282,17 +282,24 @@ namespace :release do
282
282
task :publish => [ 'publish:ask' , 'publish:tag' , 'publish:rubygems' , 'publish:post_steps' ]
283
283
284
284
namespace :publish do
285
- publish_base = true
286
- publish_edge = false
285
+ publish_base = nil
286
+ publish_edge = nil
287
287
288
288
task :ask do
289
289
begin
290
290
STDOUT . puts 'Do you want to publish anything now? (y/n)'
291
291
input = STDIN . gets . strip . downcase
292
292
end until %w( y n ) . include? ( input )
293
293
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
+
294
301
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)'
296
303
input = STDIN . gets . strip . downcase
297
304
end until %w( y n ) . include? ( input )
298
305
publish_edge = input == 'y'
You can’t perform that action at this time.
0 commit comments