From 385af47cf1baa850b77f022bb2c6bd4d4a3c8fb5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 17 May 2022 22:47:01 +0300 Subject: [PATCH 1/2] Include 'twine check' in 'make sdist' --- Makefile | 1 + RELEASING.md | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 437050ed4..ff929fee7 100644 --- a/Makefile +++ b/Makefile @@ -85,6 +85,7 @@ release-test: sdist: python3 -m build --help > /dev/null 2>&1 || python3 -m pip install build python3 -m build --sdist + python3 -m twine check --strict dist/* .PHONY: test test: diff --git a/RELEASING.md b/RELEASING.md index a6049b685..aa7511c8a 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -24,7 +24,6 @@ Released quarterly on January 2nd, April 1st, July 1st and October 15th. * [ ] Create and check source distribution: ```bash make sdist - 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.: @@ -61,7 +60,6 @@ Released as needed for security, installation or critical bug fixes. * [ ] Create and check source distribution: ```bash make sdist - 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.: @@ -91,7 +89,6 @@ Released as needed privately to individual vendors for critical security-related * [ ] Create and check source distribution: ```bash make sdist - 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) From 77aad732d162cf752f5ed267a2d92dab0ed899e7 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 18 May 2022 01:11:31 +0300 Subject: [PATCH 2/2] Ensure twine is installed Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index ff929fee7..219dda1de 100644 --- a/Makefile +++ b/Makefile @@ -85,6 +85,7 @@ release-test: sdist: python3 -m build --help > /dev/null 2>&1 || python3 -m pip install build python3 -m build --sdist + python3 -m twine --help > /dev/null 2>&1 || python3 -m pip install twine python3 -m twine check --strict dist/* .PHONY: test