From d7aa838405a9abed597f5e5919bb28ea55736674 Mon Sep 17 00:00:00 2001 From: mush42 Date: Tue, 2 Feb 2021 17:26:48 +0200 Subject: [PATCH] upload using twine --- appveyor.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 4c342be..df206bb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -54,3 +54,11 @@ build_script: artifacts: - path: target\wheels\*.whl + +on_success: + - ps: | + if ($env:APPVEYOR_REPO_TAG_NAME -and $env:APPVEYOR_REPO_TAG_NAME.StartsWith("release-")) { + .venv\Scripts\activate.ps1 + python -m pip install twine + twine upload ".\target\wheels\*" --non-interactive --skip-existing + }