From a4c5e10243c3e5ec51086775e3fcfe84a0c25a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20M=C3=BCller?= Date: Sun, 22 Jul 2018 23:36:29 +0200 Subject: [PATCH] ci: skip existing pypi releases --- .travis.yml | 3 +-- appveyor.yml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 962725cb..9af95f30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,5 @@ deploy: secure: "K11y6w6bw8pu1iCTXCSnZJ7H++aU4dud/qOl962SvI+LV+qn4JNQQ+MtD90p6RFejjQyZZF5xCuupVwwIyHDNJjauBmzrn7M4gPyKpoEyTPhh1ZVBlY5AK8CNUzMjaV6xNZwm4abSp+eJ+RE1JMdJNqH2H5urlpYfwqhOMCBa4U=" on: tags: true - distributions: "" skip_cleanup: true - + skip_existing: true diff --git a/appveyor.yml b/appveyor.yml index c1d8aed5..03f6a2cb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -107,8 +107,8 @@ artifacts: - path: Output\* on_success: - - cmd: "if [%APPVEYOR_REPO_TAG%]==[true] twine upload dist\\*.whl" - - cmd: "if [%APPVEYOR_REPO_TAG%]==[true] twine upload dist\\*.tar.gz || exit 0" + - cmd: "if [%APPVEYOR_REPO_TAG%]==[true] twine upload --skip-existing dist\\*.whl" + - cmd: "if [%APPVEYOR_REPO_TAG%]==[true] twine upload --skip-existing dist\\*.tar.gz" deploy: provider: GitHub