This commit is contained in:
parent
676b42eec9
commit
a4f4f91890
1 changed files with 20 additions and 8 deletions
|
@ -32,6 +32,18 @@ pipeline:
|
||||||
event: tag
|
event: tag
|
||||||
tag: v*
|
tag: v*
|
||||||
|
|
||||||
|
pypi_release:
|
||||||
|
image: python
|
||||||
|
commands:
|
||||||
|
- pip install poetry
|
||||||
|
- poetry install
|
||||||
|
- echo "----------------- publishing to pypi ------------------"
|
||||||
|
- poetry publish --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
|
||||||
|
secrets: [ pypi_username, pypi_password ]
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
tag: v*
|
||||||
|
|
||||||
gitea_release:
|
gitea_release:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
|
@ -45,14 +57,14 @@ pipeline:
|
||||||
event: tag
|
event: tag
|
||||||
tag: v*
|
tag: v*
|
||||||
|
|
||||||
pypi_release:
|
github_release:
|
||||||
image: python
|
image: plugins/github-release
|
||||||
commands:
|
settings:
|
||||||
- pip install poetry
|
api_key:
|
||||||
- poetry install
|
from_secret: github_release_token
|
||||||
- echo "----------------- publishing to pypi ------------------"
|
files: dist/*
|
||||||
- poetry publish --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
|
title: NEWEST_VERSION.md
|
||||||
secrets: [ pypi_username, pypi_password ]
|
note: NEWEST_CHANGES.md
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: v*
|
tag: v*
|
||||||
|
|
Loading…
Reference in a new issue