From 6df22f8cd5f001bf5523c536e03e460702033061 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 19 Jan 2022 16:53:26 +0100 Subject: [PATCH] Add pypi release automation --- .woodpecker.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index e50afec..d17c73e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -60,6 +60,17 @@ pipeline: event: tag tag: v* + pypi_release: + image: python + commands: + - pip install poetry + - poetry install + - echo "----------------- publishing to pypi ------------------" + - poetry publish --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD" + when: + event: tag + tag: v* + notify_matrix: image: plugins/matrix settings: