Permalink
Browse files

minor: fixing git deploy task

  • Loading branch information...
brandonblack committed Dec 19, 2012
1 parent 48f3e21 commit cce937809661c29961f7ec5769f2d6d0b4abdc9b
Showing with 4 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +3 −1 tasks/deploy.rake
View
@@ -9,7 +9,7 @@ rvm:
bundler_args: --without deploy
-env: TRAVIS_TEST=true
+env: TRAVIS_TEST="true"
script: bundle exec rake test
View
@@ -39,8 +39,10 @@ namespace :deploy do
g.add(['VERSION', 'ext/cbson/version.h'])
g.commit "RELEASE #{bumper_version}"
g.add_tag("#{bumper_version}")
-
g.push('origin', 'master', true)
+
+ g.checkout('release')
+ g.pull('origin', 'master')
g.push('origin', 'release', true)
end

0 comments on commit cce9378

Please sign in to comment.