Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 1.11 KB

File metadata and controls

26 lines (24 loc) · 1.11 KB

Releasing

  1. Update the version in the gemspec (and the factory_bot version, if necessary) and run bundle install
  2. Update NEWS.md to reflect the changes since last release. A useful GitHub URL to compare the changes is: https://github.com/thoughtbot/factory_bot_rails/compare/vLAST_VERSION...main
  3. 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.
  4. Tag the release: git tag -s vVERSION
  5. Push changes: git push && git push --tags
  6. Build and publish:
    gem build factory_bot_rails.gemspec
    gem push factory_bot_rails-VERSION.gem
  7. Add a new GitHub release using the recent NEWS.md as the content. Sample URL: https://github.com/thoughtbot/factory_bot_rails/releases/new?tag=vVERSION
  8. Announce the new release, making sure to say "thank you" to the contributors who helped shape this version!