From e92283b4e9634db78ec132bfe56a71d1f781e64b Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Wed, 31 Aug 2022 13:20:23 -0700 Subject: [PATCH] Skip existing files in test pypi and do twine check every time --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ba0c878..ded9eef 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,8 @@ upload: verify-tag-version build $(ENV)/bin/twine # Uses twine to upload to test pypi .PHONY: upload-test upload-test: build $(ENV)/bin/twine - $(ENV)/bin/twine upload --repository-url https://test.pypi.org/legacy/ dist/* + $(ENV)/bin/twine check dist/* + $(ENV)/bin/twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/* # Cleans all build, runtime, and test artifacts .PHONY: clean