1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/RELEASING.md
2020-06-19 23:50:07 -04:00

1.1 KiB

Releasing

  1. Update version file accordingly and run bundle install to update the Gemfile.lock and bundle exec appraisal install to update the Appraisal gemfile.lock files.
  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, 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.gemspec
    gem push factory_bot-VERSION.gem
    
  7. 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
  8. 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.