Permalink
Browse files

[Rakefile] Improvements to gem:release.

  • Loading branch information...
1 parent a02cf0e commit 5a0a496b3cb06d8e73755b24aa61e1209ae92c34 @fabiopelosin fabiopelosin committed Jul 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -99,7 +99,7 @@ namespace :gem do
exit 1
end
- if diff_lines != ['Gemfile.lock', 'lib/cocoapods.rb']
+ if diff_lines != ['lib/cocoapods.rb']
$stderr.puts "[!] Only change the version number in a release commit!"
exit 1
end
@@ -139,7 +139,7 @@ namespace :gem do
# silent_sh "rake examples:build"
# Then release
- sh "git commit Gemfile.lock lib/cocoapods.rb -m 'Release #{gem_version}'"
+ sh "git commit lib/cocoapods.rb -m 'Release #{gem_version}'"
sh "git push origin develop"
sh "git checkout master"
sh "git merge develop -m 'Release #{gem_version}'"

0 comments on commit 5a0a496

Please sign in to comment.