flush stdout before execing rake. so that it doesn't die

This commit is contained in:
Charles Lowell 2011-01-06 16:31:28 -06:00
parent 0a4ba80bd3
commit daecdb253c
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ puts current_gem_version = gem_metadata['version']
if current_hudson_version > current_gem_version
puts "upgrading..."
$stdout.flush
exec "rake push[#{current_hudson_version}]"
else
puts "no need to upgrade. current gem is the latest"