Permalink
Browse files

[Rakefile] Improvements to gem:release.

  • Loading branch information...
1 parent 84fccd6 commit cc14bd86a890ea48ef5dab4731adc1ecc3661342 @fabiopelosin fabiopelosin committed Jul 6, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 Rakefile
View
@@ -140,14 +140,12 @@ namespace :gem do
# Ensure that the branches are up to date with the remote
sh "git pull"
- sh "git checkout master"
- sh "git pull"
- sh "git checkout develop"
# Then release
sh "git commit lib/cocoapods.rb -m 'Release #{gem_version}'"
sh "git push origin develop"
sh "git checkout master"
+ sh "git pull"
sh "git merge develop -m 'Release #{gem_version}'"
sh "git tag -a #{gem_version} -m 'Release #{gem_version}'"
sh "git push origin master"

0 comments on commit cc14bd8

Please sign in to comment.