Compare commits

..

No commits in common. "main" and "v0.0.8" have entirely different histories.
main ... v0.0.8

3 changed files with 8 additions and 19 deletions

View File

@ -3,18 +3,9 @@ pipeline:
image: python:latest image: python:latest
when: when:
event: tag event: tag
# branch: [ main, master ] doesn't work atm
commands:
- python --version
- pip install -U build --quiet
- python -m build
upload:
image: python:latest
when:
event: tag
# branch: [ main, master ] doesn't work atm
secrets: [ twine_username, twine_password ] secrets: [ twine_username, twine_password ]
commands: commands:
- pip install -U twine --quiet - python --version
- python -m twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/* - pip install -U build twine --quiet
- python -m build
- python -m twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*

View File

@ -1,5 +1,3 @@
# Woodpecker Python Test # Woodpecker Python Test
[![status-badge](https://woodpecker.exu.li/api/badges/woodpecker-test/python/status.svg)](https://woodpecker.exu.li/woodpecker-test/python) ![Status badge](https://woodpecker.exu.li/api/badges/woodpecker-test/python/status.svg)
A Test for deploying Python packages using Woodpecker

View File

@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project] [project]
name = "woodpecker-realstickman" name = "woodpecker-realstickman"
version = "0.0.15" version = "0.0.8"
authors = [ authors = [
{ name="RealStickman", email="mrc@frm01.net" }, { name="RealStickman", email="mrc@frm01.net" },
] ]
@ -23,8 +23,8 @@ dependencies = [
] ]
[project.urls] [project.urls]
"Homepage" = "https://gitea.exu.li/woodpecker-test/python" "Homepage" = ""
"Bug Tracker" = "https://gitea.exu.li/woodpecker-test/python/issues" "Bug Tracker" = ""
[tool.hatch.build] [tool.hatch.build]
include = [ include = [