I love jeweler for releasing my gems, however I tend to forget how it is working, so here’s my release workflow.
1. Bump and Commit
Bump the version (usually in
git commit my latest changes
git status to check if my working tree is clean
git status # On branch master nothing to commit (working directory clean)
Otherwise jeweler will complain
$ rake release rake aborted! Hey buddy, try committing them files first
$ rake release
- tag the commit with
- push the commit(s) to origin
- push the tag to origin
- build the gem
- push the gem to gemcutter
Props to [technicalpickles].