1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/RELEASING.md
2018-08-16 07:27:22 -04:00

959 B

Releasing

  1. Update the version in the gemspec (and the factory_bot version, if necessary)
  2. Update NEWS.md to reflect the changes since last release.
  3. 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.
  4. Tag the release: git tag -s vVERSION
  1. Push changes: git push --tags
  2. Build and publish:
gem build factory_bot_rails.gemspec
gem push factory_bot_rails-VERSION.gem
  1. 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
  2. Announce the new release, making sure to say "thank you" to the contributors who helped shape this version!