Skip to content

Commit

Permalink
Improve release process (#3539)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Dec 23, 2024
1 parent 2f68c53 commit 47cfd93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

.github/workflows/ @sethmlarson @pquentin @shazow @illia-v
.github/CODEOWNERS @sethmlarson @pquentin @shazow @illia-v
src/urllib3/_version.py @sethmlarson @pquentin @shazow @illia-v
CHANGES.rst @sethmlarson @pquentin @shazow @illia-v
pyproject.toml @sethmlarson @pquentin @shazow @illia-v
ci/ @sethmlarson @pquentin @shazow @illia-v
19 changes: 11 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
* [ ] Draft a social media announcement
* [ ] See if all tests, including downstream, pass
* [ ] Get the release pull request approved by a [CODEOWNER](https://github.com/urllib3/urllib3/blob/main/.github/CODEOWNERS)
* [ ] Squash merge the release pull request with message "`Release <VERSION>`"
* [ ] Tag with X.Y.Z, push tag on urllib3/urllib3 (not on your fork, update `<REMOTE>` accordingly)
* Notice that the `<VERSION>` shouldn't have a `v` prefix (Use `1.26.6` instead of `v.1.26.6`)
* ```
# Ensure the release commit is the latest in the main branch.
export VERSION=<X.Y.Z>
export REMOTE=origin
git checkout main
git pull origin main
git tag -s -a '<VERSION>' -m 'Release: <VERSION>'
git push <REMOTE> --tags
git pull $REMOTE main
git tag -s -a "$VERSION" -m "Release: $VERSION"
git push $REMOTE --tags
```
* [ ] Execute the `publish` GitHub workflow. This requires a review from a maintainer.
* [ ] The tag will trigger the `publish` GitHub workflow. This requires a review from a maintainer.
* [ ] Ensure that all expected artifacts are added to the new GitHub release. Should
be one `.whl`, one `.tar.gz`, and one `multiple.intoto.jsonl`. Update the GitHub
release to have the content of the release's changelog.
release to have the content of the release's changelog and any ongoing announcements.
* [ ] Announce on:
* [ ] Twitter
* [ ] Social media
* [ ] Discord
* [ ] OpenCollective
* [ ] Update Tidelift metadata
* [ ] Open Collective
* [ ] Check [Tidelift security maintenance plan](https://tidelift.com/lifter/package/pypi/urllib3/tasks/packages_have_maintenance_plans>) is still correct
* [ ] If this was a 1.26.x release, add changelog to the `main` branch

0 comments on commit 47cfd93

Please sign in to comment.