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:
|
||||
deploy:
|
||||
build:
|
||||
image: python:latest
|
||||
when:
|
||||
event: tag
|
||||
secrets: [ twine_username, twine_password ]
|
||||
commands:
|
||||
- python --version
|
||||
- pip install -U twine --quiet
|
||||
- ls -l
|
||||
- pip install -U build twine --quiet
|
||||
- python -m build
|
||||
- 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]
|
||||
name = "woodpecker-realstickman"
|
||||
version = "0.0.6"
|
||||
version = "0.0.7"
|
||||
authors = [
|
||||
{ name="RealStickman", email="mrc@frm01.net" },
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user