diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml deleted file mode 100644 index d5cb7ba..0000000 --- a/.woodpecker/build.yml +++ /dev/null @@ -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 diff --git a/.woodpecker/deploy.yml b/.woodpecker/release.yml similarity index 75% rename from .woodpecker/deploy.yml rename to .woodpecker/release.yml index 506fbec..d6ddd90 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/release.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index feb1a65..4b16902 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" }, ]