Compare commits
No commits in common. "main" and "v0.0.4" have entirely different histories.
9
.woodpecker/build.yml
Normal file
9
.woodpecker/build.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: python:latest
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
commands:
|
||||||
|
- python --version
|
||||||
|
- pip install -U build --quiet
|
||||||
|
- build
|
13
.woodpecker/deploy.yml
Normal file
13
.woodpecker/deploy.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
pipeline:
|
||||||
|
deploy:
|
||||||
|
image: python:latest
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
secrets: [ twine_username, twine_password ]
|
||||||
|
commands:
|
||||||
|
- python --version
|
||||||
|
- pip install -U twine --quiet
|
||||||
|
- twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- build
|
@ -1,20 +0,0 @@
|
|||||||
pipeline:
|
|
||||||
build:
|
|
||||||
image: python:latest
|
|
||||||
when:
|
|
||||||
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 ]
|
|
||||||
commands:
|
|
||||||
- pip install -U twine --quiet
|
|
||||||
- python -m twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
|
|
@ -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
|
|
||||||
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "woodpecker-realstickman"
|
name = "woodpecker-realstickman"
|
||||||
version = "0.0.15"
|
version = "0.0.4"
|
||||||
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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user