Update 0.0.7. Build and deploy in one
This commit is contained in:
parent
e15c733d15
commit
edf291a9a3
@ -1,10 +0,0 @@
|
|||||||
pipeline:
|
|
||||||
build:
|
|
||||||
image: python:latest
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
commands:
|
|
||||||
- python --version
|
|
||||||
- pip install -U build --quiet
|
|
||||||
- python -m build
|
|
||||||
- ls -l
|
|
@ -1,14 +1,11 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
deploy:
|
build:
|
||||||
image: python:latest
|
image: python:latest
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
secrets: [ twine_username, twine_password ]
|
secrets: [ twine_username, twine_password ]
|
||||||
commands:
|
commands:
|
||||||
- python --version
|
- python --version
|
||||||
- pip install -U twine --quiet
|
- pip install -U build twine --quiet
|
||||||
- ls -l
|
- python -m build
|
||||||
- python -m twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
|
- python -m twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- build
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "woodpecker-realstickman"
|
name = "woodpecker-realstickman"
|
||||||
version = "0.0.6"
|
version = "0.0.7"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="RealStickman", email="mrc@frm01.net" },
|
{ name="RealStickman", email="mrc@frm01.net" },
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user