Created
October 20, 2009 17:28
-
-
Save mbleigh/214442 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Once you've included your Jeweler tasks and your Jeweler::Gemcutter tasks... | |
namespace :release do | |
%w(patch minor major).each do |level| | |
desc "Tag a #{level} version and push it to Gemcutter." | |
task level.to_sym => ["version:bump:#{level}", "release", "gemcutter:release"] | |
end | |
end | |
# Now, to tag a new version, push it to GitHub and release your project on Gemcutter, you just have to do: | |
# $ rake release:(patch|minor|major) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment