Permalink
Browse files

Print the commands that are executed during gem:release.

  • Loading branch information...
1 parent c5214db commit 9428428e35fcde8d493752c5690cb058619200da @alloy alloy committed Nov 26, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 Rakefile
View
10 Rakefile
@@ -70,11 +70,11 @@ namespace :gem do
# First see if the gem builds and installs
Rake::Task['gem:install'].invoke
# Then release
- `git commit lib/cocoapods.rb -m 'Release #{gem_version}'`
- `git tag -a #{gem_version} -m 'Release #{gem_version}'`
- `git push origin master`
- `git push --tags`
- `gem push #{gem_filename}`
+ sh "git commit lib/cocoapods.rb -m 'Release #{gem_version}'"
+ sh "git tag -a #{gem_version} -m 'Release #{gem_version}'"
+ sh "git push origin master"
+ sh "git push --tags"
+ sh "gem push #{gem_filename}"
else
puts "Only change the version number in a release commit!"
end

0 comments on commit 9428428

Please sign in to comment.