releasing.md (linguist-7.24.0) | : | releasing.md (linguist-7.24.1) | ||
---|---|---|---|---|
skipping to change at line 29 | skipping to change at line 29 | |||
6. Build a test gem `GEM_VERSION=$(git describe --tags 2>/dev/null | sed 's/-/./ g' | sed 's/v//') bundle exec rake build_gem` | 6. Build a test gem `GEM_VERSION=$(git describe --tags 2>/dev/null | sed 's/-/./ g' | sed 's/v//') bundle exec rake build_gem` | |||
7. Test the test gem: | 7. Test the test gem: | |||
1. Bump the Gemfile and Gemfile.lock versions for an app which relies on this gem | 1. Bump the Gemfile and Gemfile.lock versions for an app which relies on this gem | |||
2. Install the new gem locally | 2. Install the new gem locally | |||
3. Test behavior locally, branch deploy, whatever needs to happen | 3. Test behavior locally, branch deploy, whatever needs to happen | |||
8. Bump gem version in `lib/linguist/VERSION`, [like this](https://github.com/gi thub/linguist/commit/3212355400974ce5f7873a71eb8b85b1c5f4a6d2). | 8. Bump gem version in `lib/linguist/VERSION`, [like this](https://github.com/gi thub/linguist/commit/3212355400974ce5f7873a71eb8b85b1c5f4a6d2). | |||
9. Make a PR to `github/linguist`, [like this](https://github.com/github/linguis t/pull/5084). | 9. Make a PR to `github/linguist`, [like this](https://github.com/github/linguis t/pull/5084). | |||
10. Build a local gem: `bundle exec rake build_gem` | 10. Build a local gem: `bundle exec rake build_gem` | |||
11. Merge the `github/linguist` PR | 11. Merge the `github/linguist` PR | |||
12. Tag and push: `git tag vx.xx.xx; git push --tags` | 12. Tag and push: `git tag vx.xx.xx; git push --tags` | |||
13. Create a GitHub release with the pushed tag (https://github.com/github/lingu ist/releases/new) and populate it with a list of the commits from `git log --pre tty=format:"- %s" --reverse refs/tags/[OLD TAG]...refs/tags/[NEW TAG]` [like thi s](https://github.com/github/linguist/releases/tag/v7.2.0) | 13. Create a GitHub release with the pushed tag (https://github.com/github/lingu ist/releases/new) and populate it using the "Generate release notes" button. | |||
14. Build a grammars tarball (`./script/build-grammars-tarball`) and attach it t o the GitHub release | 14. Build a grammars tarball (`./script/build-grammars-tarball`) and attach it t o the GitHub release | |||
15. Push to rubygems.pkg.github.com -- `gem push --key github --host https://rub ygems.pkg.github.com/github github-linguist-3.0.0.gem`. See [Working with the Ru byGems registry][gpr] for more details. | 15. Push to rubygems.pkg.github.com -- `gem push --key github --host https://rub ygems.pkg.github.com/github github-linguist-3.0.0.gem`. See [Working with the Ru byGems registry][gpr] for more details. | |||
16. Push to rubygems.org -- `gem push github-linguist-3.0.0.gem` | 16. Push to rubygems.org -- `gem push github-linguist-3.0.0.gem` | |||
17. Update and deploy the following repositories to use the new gem in productio n: | 17. Update and deploy the following repositories to use the new gem in productio n: | |||
- `github/github` - label for backporting to the latest version of GitHub En | - `github/github` - if backporting, label for backporting to the latest vers | |||
terprise Server only. | ion of GitHub Enterprise Server only. | |||
- `github/treelights` - this only needs the Linguist version updated to pull | - `github/treelights` - this only needs the Linguist version updated to pull | |||
the compiled grammars from the Linguist release. Label for backporting to the l | the compiled grammars from the Linguist release. If backporting, label for back | |||
atest version of GitHub Enterprise Server only. | porting to the latest version of GitHub Enterprise Server only. | |||
Note: syntax highlighting changes won't take effect until the updated `githu b/treelights` repo has been deployed. | Note: syntax highlighting changes won't take effect until the updated `githu b/treelights` repo has been deployed. | |||
[gpr]: https://docs.github.com/en/packages/working-with-a-github-packages-regist ry/working-with-the-rubygems-registry | [gpr]: https://docs.github.com/en/packages/working-with-a-github-packages-regist ry/working-with-the-rubygems-registry | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added |