Merge pull request 'Also publish package to PyPI' (#3) from raoul/http2smtp:send-to-pypi into master
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
Reviewed-on: #3master
commit
8cd5c6e9e0
|
@ -9,7 +9,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- pip install hatch
|
- pip install hatch
|
||||||
- hatch run test
|
- hatch run test
|
||||||
publish-package:
|
publish-local-package:
|
||||||
|
group: publish-package
|
||||||
image: python:3.11
|
image: python:3.11
|
||||||
commands:
|
commands:
|
||||||
- pip install hatch
|
- pip install hatch
|
||||||
|
@ -23,6 +24,20 @@ steps:
|
||||||
- repo: libertytechforce/http2smtp
|
- repo: libertytechforce/http2smtp
|
||||||
branch: master
|
branch: master
|
||||||
event: tag
|
event: tag
|
||||||
|
publish-pypi-package:
|
||||||
|
group: publish-package
|
||||||
|
image: python:3.11
|
||||||
|
commands:
|
||||||
|
- pip install hatch
|
||||||
|
- hatch build
|
||||||
|
- hatch publish --user $PYPI_USERNAME --auth $PYPI_TOKEN --no-prompt
|
||||||
|
secrets:
|
||||||
|
- pypi-username
|
||||||
|
- pypi-token
|
||||||
|
when:
|
||||||
|
- repo: libertytechforce/http2smtp
|
||||||
|
branch: master
|
||||||
|
event: tag
|
||||||
nightly-image:
|
nightly-image:
|
||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in New Issue