- Update version file accordingly.
- Run
bundle install
to update Gemfile.lock - Update
NEWS.md
to reflect the changes since last release. - Commit changes. There shouldn't be code changes, and thus CI doesn't need to run, you can then add "[ci skip]" to the commit message.
- Push the new commit
- Tag the release:
git tag -s vVERSION
- We recommend the quick guide on how to sign a commit from GitHub.
- Push changes:
git push --tags
- Build and publish:
gem build clearance.gemspec gem push clearance-*.gem
- Add a new GitHub release using the recent
NEWS.md
as the content. Sample URL: https://github.com/thoughtbot/clearance/releases/new?tag=vVERSION - Announce the new release, making sure to say "thank you" to the contributors who helped shape this version!