Skip to content

Commit d246e7f

Browse files
authored
Merge pull request #3954 from armanbilge/topic/how-to-release
Document release process
2 parents 4751662 + e18e6d0 commit d246e7f

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

RELEASING.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Release procedure
2+
3+
1. Draft a new release.
4+
1. Create a new tag with the appropriate name (e.g. v3.5.1); also name the release accordingly.
5+
1. Make sure you're targeting the appropriate branch! (probably the minor branch)
6+
1. "Generate new release notes"
7+
1. edit edit edit
8+
- Increment and transliterate the release counter
9+
- Cargo-cult the old release notes header from the last minor release (including any warnings)
10+
- Add any special notes to the release header (any major changes or fixes that need calling out)
11+
- Fix up any formatting or PRs that got sorted to the wrong category
12+
- Double-check PR attributions (collaborations, hand-offs, etc.)
13+
- Just make it look nice :)
14+
1. Publish the release.
15+
1. Wait for all the CI madness to happen, for the release to announced to Discord, and for the artifacts to sync to Maven Central.
16+
1. Make sure you're locally updated and on the right major/minor branch (this is the same branch as step 3).
17+
1. Open a PR to merge the minor branch into the major branch. This is only necessary for patch releases.
18+
19+
`scripts/make-release-prs.sh <old-version> <new-version>`
20+
21+
e.g. `scripts/make-release-prs.sh v3.5.1 v3.5.2`
22+
23+
1. Open a PR to update the version in the README and documentation site. This is only necessary for stable releases (i.e., not Milestones or Release Candidates)
24+
25+
`scripts/make-site-pr.sh <old-version> <new-version>`
26+
27+
e.g. `scripts/make-site-pr.sh v3.5.1 v3.5.2`

0 commit comments

Comments
 (0)