Skip to content

Commit 8e0db86

Browse files
authored
chore(docs): Add docs for how to publish a release for previous majors (#14740)
Backporting the release docs for older branches.
1 parent 9c53d48 commit 8e0db86

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/assets/run-release-workflow.png

80.5 KB
Loading

docs/publishing-a-release.md

+15
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@ _These steps are only relevant to Sentry employees when preparing and publishing
2020
[@getsentry/releases-approvers](https://github.com/orgs/getsentry/teams/release-approvers) to approve the release. a.
2121
Once the release is completed, a sync from `master` ->` develop` will be automatically triggered
2222

23+
## Publishing a release for previous majors
24+
25+
1. Run `yarn changelog` on the major branch (e.g. `v8`) and determine what version will be released (we use
26+
[semver](https://semver.org))
27+
2. Create a branch, e.g. `changelog-8.45.1`, off the major branch (e.g. `v8`)
28+
3. Update `CHANGELOG.md` to add an entry for the next release number and a list of changes since the
29+
last release. (See details below.)
30+
4. Open a PR with the title `meta(changelog): Update changelog for VERSION` against the major branch.
31+
5. Once the PR is merged, open the [Prepare Release workflow](https://github.com/getsentry/sentry-javascript/actions/workflows/release.yml) and
32+
fill in ![run-release-workflow.png](./assets/run-release-workflow.png)
33+
1. The major branch you want to release for, e.g. `v8`
34+
2. The version you want to release, e.g. `8.45.1`
35+
3. The major branch to merge into, e.g. `v8`
36+
6. Run the release workflow
37+
2338
## Updating the Changelog
2439

2540
1. Run `yarn changelog` and copy everything.

0 commit comments

Comments
 (0)