Skip to content

Commit c3af264

Browse files
authored
Merge pull request #7652 from radarhere/releasing
Updated RELEASING now that Trusted PyPI publishing is in use
2 parents 2de26d0 + 3c7603b commit c3af264

File tree

1 file changed

+10
-23
lines changed

1 file changed

+10
-23
lines changed

RELEASING.md

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ Released quarterly on January 2nd, April 1st, July 1st and October 15th.
2020
git tag 5.2.0
2121
git push --tags
2222
```
23-
* [ ] Create [source and binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#source-and-binary-distributions)
24-
* [ ] Check and upload all source and binary distributions e.g.:
25-
```bash
26-
python3 -m twine check --strict dist/*
27-
python3 -m twine upload dist/Pillow-5.2.0*
28-
```
23+
* [ ] Create and upload all [source and binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#source-and-binary-distributions)
2924
* [ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases)
3025
* [ ] In compliance with [PEP 440](https://peps.python.org/pep-0440/),
3126
increment and append `.dev0` to version identifier in `src/PIL/_version.py` and then:
@@ -55,12 +50,7 @@ Released as needed for security, installation or critical bug fixes.
5550
```bash
5651
make sdist
5752
```
58-
* [ ] Create [source and binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#source-and-binary-distributions)
59-
* [ ] Check and upload all source and binary distributions e.g.:
60-
```bash
61-
python3 -m twine check --strict dist/*
62-
python3 -m twine upload dist/Pillow-5.2.1*
63-
```
53+
* [ ] Create and upload all [source and binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#source-and-binary-distributions)
6454
* [ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases) and then:
6555
```bash
6656
git push
@@ -82,26 +72,23 @@ Released as needed privately to individual vendors for critical security-related
8272
git tag 2.5.3
8373
git push origin --tags
8474
```
85-
* [ ] Create and check source distribution:
86-
```bash
87-
make sdist
88-
```
89-
* [ ] Create [source and binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#source-and-binary-distributions)
75+
* [ ] Create and upload all [source and binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#source-and-binary-distributions)
9076
* [ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases) and then:
9177
```bash
9278
git push origin 2.5.x
9379
```
9480

9581
## Source and Binary Distributions
9682

97-
* [ ] Download sdist and wheels from the [GitHub Actions "Wheels" workflow](https://github.com/python-pillow/Pillow/actions/workflows/wheels.yml)
98-
and copy into `dist/`. For example using [GitHub CLI](https://github.com/cli/cli):
83+
* [ ] Check the [GitHub Actions "Wheels" workflow](https://github.com/python-pillow/Pillow/actions/workflows/wheels.yml)
84+
has passed, including the "Upload release to PyPI" job. This will have been triggered
85+
by the new tag.
86+
* [ ] Download the Linux aarch64 wheels created by Travis CI from [GitHub releases](https://github.com/python-pillow/Pillow/releases)
87+
and copy into `dist`. Check and upload them e.g.:
9988
```bash
100-
gh run download --dir dist
101-
# select dist
89+
python3 -m twine check --strict dist/*
90+
python3 -m twine upload dist/Pillow-5.2.0*
10291
```
103-
* [ ] Download the Linux aarch64 wheels created by Travis CI from [GitHub releases](https://github.com/python-pillow/Pillow/releases)
104-
and copy into `dist`.
10592

10693
## Publicize Release
10794

0 commit comments

Comments
 (0)