Skip to content
This repository
Browse code

[Rakefile] Improvements to gem:release.

  • Loading branch information...
commit cc14bd86a890ea48ef5dab4731adc1ecc3661342 1 parent 84fccd6
Fabio Pelosin irrationalfab authored

Showing 1 changed file with 1 addition and 3 deletions. Show diff stats Hide diff stats

  1. +1 3 Rakefile
4 Rakefile
@@ -140,14 +140,12 @@ namespace :gem do
140 140
141 141 # Ensure that the branches are up to date with the remote
142 142 sh "git pull"
143   - sh "git checkout master"
144   - sh "git pull"
145   - sh "git checkout develop"
146 143
147 144 # Then release
148 145 sh "git commit lib/cocoapods.rb -m 'Release #{gem_version}'"
149 146 sh "git push origin develop"
150 147 sh "git checkout master"
  148 + sh "git pull"
151 149 sh "git merge develop -m 'Release #{gem_version}'"
152 150 sh "git tag -a #{gem_version} -m 'Release #{gem_version}'"
153 151 sh "git push origin master"

0 comments on commit cc14bd8

Please sign in to comment.
Something went wrong with that request. Please try again.