Compare commits

..

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

4 changed files with 18 additions and 18 deletions

9
.woodpecker/build.yml Normal file
View File

@ -0,0 +1,9 @@
pipeline:
build:
image: python:latest
when:
event: tag
commands:
- python --version
- pip install -U build --quiet
- python -m build

View File

@ -1,20 +1,13 @@
pipeline: pipeline:
build: deploy:
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:
- python --version
- pip install -U twine --quiet - pip install -U twine --quiet
- 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

@ -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.5"
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 = [