lib/heroku_deploy/tasks.rb in heroku_deploy-0.1.0 vs lib/heroku_deploy/tasks.rb in heroku_deploy-0.1.1
- old
+ new
@@ -147,10 +147,18 @@
puts "Going into maintenance mode"
`heroku maintenance:on --app #{app}`
+ puts "Waiting for slug to re-compile..."
+ 30.times do
+ sleep 1
+ print "."
+ STDOUT.flush
+ end
+ puts ""
+
puts "Pushing to #{app}"
`git push git@heroku.com:#{app}.git #{branch}:master`
`git checkout master`
@@ -180,9 +188,10 @@
puts "New Bundle Captured on Heroku: backup-#{timestamp}"
print "Waiting for Bundle to become available..."
while bundle_not_yet_captured?( app ) do
print "."
+ STDOUT.flush
end
puts ""
if bundle_captured?( app )
puts "New Bundle Ready For Download"
\ No newline at end of file