Add pypi release automation
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

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

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: