Skip to content

Commit

Permalink
[Rakefile] Improvements to gem:release.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Jul 6, 2012
1 parent 6318a0a commit 26fb824
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Rakefile
Expand Up @@ -138,6 +138,12 @@ namespace :gem do
# ENV['FROM_GEM'] = '1' # ENV['FROM_GEM'] = '1'
# silent_sh "rake examples:build" # silent_sh "rake examples:build"


# 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 # Then release
sh "git commit lib/cocoapods.rb -m 'Release #{gem_version}'" sh "git commit lib/cocoapods.rb -m 'Release #{gem_version}'"
sh "git push origin develop" sh "git push origin develop"
Expand Down

0 comments on commit 26fb824

Please sign in to comment.