Permalink
Browse files

deploy-to-production

  • Loading branch information...
1 parent be5479b commit 83b7d579aee5b99773254af848710e4288f4d6da @triskweline triskweline committed Jun 5, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −2 bin/deploy-to-production
  2. +1 −1 lib/geordi/version.rb
View
@@ -81,8 +81,7 @@ header("You are about to deploy the following commits from #{master_branch} to #
call_or_fail("git log #{production_branch}..#{master_branch} --oneline")
if prompt("Go ahead with the deployment? (y/n)", "n").downcase == 'y'
- puts("git merge #{master_branch} && git push && cap #{production_stage} deploy:migrations")
- call_or_fail("git merge #{master_branch} && git push && cap #{production_stage} deploy:migrations")
+ call_or_fail("git merge #{master_branch} && git push && bundle exec cap #{production_stage} deploy:migrations")
success 'Deployment complete.'
else
error 'Deployment cancelled.'
View
@@ -1,3 +1,3 @@
module Geordi
- VERSION = '0.12.6'
+ VERSION = '0.12.7'
end

0 comments on commit 83b7d57

Please sign in to comment.