Update 0.0.7. Build and deploy in one

This commit is contained in:
RealStickman 2022-09-12 19:21:40 +02:00
parent e15c733d15
commit a23df07627
3 changed files with 4 additions and 17 deletions

View File

@ -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

View File

@ -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

View File

@ -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" },
]