From 2878641dbeeb6c878b020ed2f5c343fa20fdb309 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 12 Sep 2022 19:36:34 +0200 Subject: [PATCH] modify release pipeline into two separated steps --- .woodpecker/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index d6ddd90..a8a7362 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -3,9 +3,15 @@ pipeline: image: python:latest when: event: tag - secrets: [ twine_username, twine_password ] commands: - python --version - - pip install -U build twine --quiet + - pip install -U build --quiet - python -m build + + upload: + image: python:latest + secrets: [ twine_username, twine_password ] + commands: + - ls -l + - pip install -U twine --quiet - python -m twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*