Update 0.0.7. Build and deploy in one
Some checks failed
ci/woodpecker/tag/linting Pipeline failed
ci/woodpecker/tag/release Pipeline failed

This commit is contained in:
RealStickman 2022-09-12 19:21:40 +02:00
parent e15c733d15
commit edf291a9a3
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: 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

View File

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