Skip existing files in test pypi and do twine check every time
continuous-integration/drone/push Build is passing Details

This commit is contained in:
IamTheFij 2022-08-31 13:20:23 -07:00
parent 10849adfb8
commit e92283b4e9
1 changed files with 2 additions and 1 deletions

View File

@ -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