thoughtbot--factory_bot/RELEASING.md

27 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2018-08-15 14:56:09 +00:00
# Releasing
2019-01-06 03:00:45 +00:00
1. Update version file accordingly and run `bundle install` to update the
2020-06-19 00:46:51 +00:00
Gemfile.lock and `bundle exec appraisal install` to update the Appraisal
2020-06-20 03:50:07 +00:00
gemfile.lock files.
2018-08-15 14:56:09 +00:00
1. Update `NEWS.md` to reflect the changes since last release.
1. Commit changes.
There shouldn't be code changes,
and thus CI doesn't need to run,
2019-01-06 03:00:45 +00:00
so you can add "[ci skip]" to the commit message.
2018-08-15 14:56:09 +00:00
1. Tag the release: `git tag -s vVERSION`
2019-02-26 00:56:59 +00:00
- We recommend the [_quick guide on how to sign a release_] from git ready.
2019-01-11 19:58:26 +00:00
1. Push changes: `git push && git push --tags`
2018-08-15 14:56:09 +00:00
1. Build and publish:
2019-02-26 00:56:59 +00:00
```bash
gem build factory_bot.gemspec
gem push factory_bot-VERSION.gem
```
2018-08-15 14:56:09 +00:00
1. 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
1. 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.
2018-08-15 14:56:09 +00:00
[_quick guide on how to sign a release_]: http://gitready.com/advanced/2014/11/02/gpg-sign-releases.html