- Update version file accordingly and run
bundle install
to update the Gemfile.lock andbundle exec appraisal install
to update the Appraisal gemfile.lock files. - 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, so you can add "[ci skip]" to the commit message.
- Tag the release:
git tag -s vVERSION
- We recommend the quick guide on how to sign a release from git ready.
- Push changes:
git push && git push --tags
- Build and publish:
gem build factory_bot.gemspec gem push factory_bot-VERSION.gem
- Add a new GitHub release using the recent
NEWS.md
as the content. Sample URL: https://github.com/thoughtbot/factory_bot/releases/new?tag=vVERSION - Announce the new release, making sure to say "thank you" to the contributors who helped shape this version! thoughtbotters can refer to the handbook for announcements guidelines.