From 48a65656eea5e18a031e992ce65553f338fae902 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 1 Apr 2022 11:15:09 +0300 Subject: [PATCH] Call twine via 'python -m' and with '--strict' --- RELEASING.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index cbedd449c..5132631b4 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -24,13 +24,13 @@ Released quarterly on January 2nd, April 1st, July 1st and October 15th. * [ ] Create and check source distribution: ```bash make sdist - twine check dist/* + python3 -m twine check --strict dist/* ``` * [ ] Create [binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#binary-distributions) * [ ] Check and upload all binaries and source distributions e.g.: ```bash - twine check dist/* - twine upload dist/Pillow-5.2.0* + python3 -m twine check --strict dist/* + python3 -m twine upload dist/Pillow-5.2.0* ``` * [ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases) * [ ] In compliance with [PEP 440](https://www.python.org/dev/peps/pep-0440/), increment and append `.dev0` to version identifier in `src/PIL/_version.py` @@ -61,13 +61,13 @@ Released as needed for security, installation or critical bug fixes. * [ ] Create and check source distribution: ```bash make sdist - twine check dist/* + python3 -m twine check --strict dist/* ``` * [ ] Create [binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#binary-distributions) * [ ] Check and upload all binaries and source distributions e.g.: ```bash - twine check dist/* - twine upload dist/Pillow-5.2.1* + python3 -m twine --strict check dist/* + python3 -m twine upload dist/Pillow-5.2.1* ``` * [ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases) @@ -91,7 +91,7 @@ Released as needed privately to individual vendors for critical security-related * [ ] Create and check source distribution: ```bash make sdist - twine check dist/* + python3 -m twine check --strict dist/* ``` * [ ] Create [binary distributions](https://github.com/python-pillow/Pillow/blob/main/RELEASING.md#binary-distributions) * [ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases)