Add pypi release automation
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Marty Oehme 2022-01-19 16:53:26 +01:00
parent 03dd1a485d
commit 6df22f8cd5
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
1 changed files with 11 additions and 0 deletions

View File

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