lib/hu/deploy.rb in hu-2.0.21 vs lib/hu/deploy.rb in hu-2.0.22

- old
+ new

@@ -582,22 +582,20 @@ # exit 0 # end # # run_each(script, parser: parser, sigint_handler: sigint_handler) - print"\a"; sleep 0.4 - # disabled until we find a way to stop terminal-notifier # from spamming messages to stdout. # # Notifier.notify(image: "#{__dir__}/../../assets/images/deploy.png", # title: 'Deploy successful', # message: "Release #{release_tag} has been deployed to #{prod_app_name}") - puts "\e[42m \e[0m \e[0;32mRelease \e[1m#{release_tag}\e[0;32m has been deployed to \e[1m#{prod_app_name}\e[0;32m\e[0m \e[42m \e[0m" - print"\a"; sleep 0.4 - puts - print"\a"; sleep 0.4 + [0.3,0.15,0.12,0.3,0.55].each { |i| print "\a"; sleep i } + puts "\e[42m \e[0m \e[0;32mRelease \e[1m#{release_tag}\e[0;32m has been deployed to \e[1m#{prod_app_name}\e[0;32m\e[0m \e[42m \e[0m\a" + sleep 0.35 + puts "\a" exit 0 end # end when :push_to_staging