| 1 |
# New Release Manager List |
| 2 |
|
| 3 |
- [ ] Make sure you have access to the Mercurial project on PyPi |
| 4 |
- [ ] Make sure you have SSH access and are in the `committers` group on |
| 5 |
mercurial-scm.org |
| 6 |
- [ ] Make sure your key is uploaded to some public server |
| 7 |
- [ ] http://keyserver.ubuntu.com/ |
| 8 |
- [ ] https://pgp.mit.edu/ |
| 9 |
- [ ] https://keys.openpgp.org |
| 10 |
- [ ] Inform [email protected] that a new key will be used |
| 11 |
for signing |
| 12 |
- [ ] Get a clone of `hg-release-tools` (ask a previous maintainer) |
| 13 |
|
| 14 |
# Release Checklist |
| 15 |
|
| 16 |
Followed by release managers to prepare releases. |
| 17 |
|
| 18 |
Things to check: |
| 19 |
|
| 20 |
- [ ] Make sure the latest [evolve](https://foss.heptapod.net/mercurial/evolve) |
| 21 |
is compatible |
| 22 |
- [ ] Run a pipeline on the `stable` branch, which tracks hg's `stable` |
| 23 |
- [ ] Check for queued security patches |
| 24 |
- [ ] Check for the **very** occasional mailing list submission |
| 25 |
- [ ] Pull from [Heptapod](https://foss.heptapod.net/mercurial/mercurial-devel) |
| 26 |
- [ ] Check that the **full** (including platform and py-version compat) |
| 27 |
Heptapod CI passed on the changeset you want to release |
| 28 |
- [ ] Add the release notes in a public changeset |
| 29 |
- [ ] Run `hg-release-tools/make-release` which does the following: |
| 30 |
- Create a tag |
| 31 |
- Sign it (will prompt for GPG key) |
| 32 |
- Build release tarballs |
| 33 |
- Build all linux wheels (will prompt for `sudo`) |
| 34 |
- Make the tag public |
| 35 |
- [ ] Pull from `release-build-X.Y(rcZ)`, update to and publish the `stable` |
| 36 |
branch |
| 37 |
- [ ] Push a merge from `stable` into `default` to the CI (hence pushing the |
| 38 |
release changesets) |
| 39 |
- [ ] Create the wheels for MacOS and Windows: |
| 40 |
- Start a pipeline on **the tag** itself (and not on `stable`) |
| 41 |
- Trigger the nightly build to enable Windows and MacOS wheel jobs |
| 42 |
- Download and extract the artifacts from the wheels job for both Windows |
| 43 |
and MacOS |
| 44 |
- Move the wheels to `release-build-X.Y.Z/dist/` so they'll be uploaded |
| 45 |
along with the Linux ones you just built |
| 46 |
- [ ] Copy the new release notes to the appropriate page on |
| 47 |
[the website](https://foss.heptapod.net/mercurial/hg-website) |
| 48 |
- [ ] For non-rc versions, write a blog entry as well |
| 49 |
- [ ] For major releases: |
| 50 |
- [ ] Create ReleaseX.Y page |
| 51 |
- [ ] Add warning about it being an rc |
| 52 |
- [ ] Replace rc notes when final release is cut |
| 53 |
- [ ] Once you have all the wheels, run `hg-release-tools/post-release` |
| 54 |
which does the following: |
| 55 |
- Upload signed release tarball to mercurial-scm.org |
| 56 |
- Upload release wheels to Pypi with `twine` |
| 57 |
- Upload release tarball to Pypi with `twine` |
| 58 |
- Update mercurial-scm.org's latest.dat file |
| 59 |
- Removes the build dir |
| 60 |
- [ ] Deploy the website (ping Alphare until we automate it) |
| 61 |
- [ ] Tag and push `PythonHglib` if there are new changesets (TODO define this) |
| 62 |
- [ ] Ping [email protected] (see template below) |
| 63 |
- [ ] For non-rc versions, ping [email protected] (see template below) |
| 64 |
- [ ] Update Matrix topic and IRC topic |
| 65 |
- [ ] For rc releases, be sure to note code freeze if there |
| 66 |
- [ ] Update your own Mercurial with the new version 😉 |
| 67 |
|
| 68 |
# Packaging message template |
| 69 |
|
| 70 |
``` |
| 71 |
To: [email protected] |
| 72 |
Subject: Mercurial x.y tagged |
| 73 |
|
| 74 |
Please update your package builds, thanks. |
| 75 |
Please also make sure you have the latest evolve version packaged. |
| 76 |
|
| 77 |
Release notes here: https://mercurial-scm.org/relnotes/X.Y |
| 78 |
|
| 79 |
<describe changes in this release important for packagers to note, if any> |
| 80 |
``` |
| 81 |
|
| 82 |
# User mailing list template |
| 83 |
|
| 84 |
|
| 85 |
``` |
| 86 |
To: [email protected] |
| 87 |
Subject: Mercurial x.y released |
| 88 |
|
| 89 |
Hello all, |
| 90 |
|
| 91 |
We've just released a new Mercurial version, please try it out! |
| 92 |
|
| 93 |
You can find the release notes here: https://mercurial-scm.org/relnotes/X.Y |
| 94 |
|
| 95 |
<describe changes in this release important for *users* to note, if any> |
| 96 |
|
| 97 |
Thanks, |
| 98 |
The Mercurial team. |
| 99 |
``` |