Commit 9428428e authored by Eloy Duran's avatar Eloy Duran

Print the commands that are executed during gem:release.

parent c5214dbd
...@@ -70,11 +70,11 @@ namespace :gem do ...@@ -70,11 +70,11 @@ namespace :gem do
# First see if the gem builds and installs # First see if the gem builds and installs
Rake::Task['gem:install'].invoke Rake::Task['gem:install'].invoke
# Then release # Then release
`git commit lib/cocoapods.rb -m 'Release #{gem_version}'` sh "git commit lib/cocoapods.rb -m 'Release #{gem_version}'"
`git tag -a #{gem_version} -m 'Release #{gem_version}'` sh "git tag -a #{gem_version} -m 'Release #{gem_version}'"
`git push origin master` sh "git push origin master"
`git push --tags` sh "git push --tags"
`gem push #{gem_filename}` sh "gem push #{gem_filename}"
else else
puts "Only change the version number in a release commit!" puts "Only change the version number in a release commit!"
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment