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
|
||||
|
||||
[![status-badge](https://woodpecker.exu.li/api/badges/woodpecker-test/python/status.svg)](https://woodpecker.exu.li/woodpecker-test/python)
|
||||
|
||||
A Test for deploying Python packages using Woodpecker
|
||||
![Status badge](https://woodpecker.exu.li/api/badges/woodpecker-test/python/status.svg)
|
||||
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "woodpecker-realstickman"
|
||||
version = "0.0.15"
|
||||
version = "0.0.4"
|
||||
authors = [
|
||||
{ name="RealStickman", email="mrc@frm01.net" },
|
||||
]
|
||||
@ -23,8 +23,8 @@ dependencies = [
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = "https://gitea.exu.li/woodpecker-test/python"
|
||||
"Bug Tracker" = "https://gitea.exu.li/woodpecker-test/python/issues"
|
||||
"Homepage" = ""
|
||||
"Bug Tracker" = ""
|
||||
|
||||
[tool.hatch.build]
|
||||
include = [
|
||||
|
Loading…
Reference in New Issue
Block a user