Compare commits
No commits in common. "main" and "v0.0.2" have entirely different histories.
10
.woodpecker/build.yml
Normal file
10
.woodpecker/build.yml
Normal file
@ -0,0 +1,10 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: python:latest
|
||||
when:
|
||||
event: tag
|
||||
branch: [main, master]
|
||||
commands:
|
||||
- python --version
|
||||
- pip install -U build --quiet
|
||||
- build
|
14
.woodpecker/deploy.yml
Normal file
14
.woodpecker/deploy.yml
Normal file
@ -0,0 +1,14 @@
|
||||
pipeline:
|
||||
deploy:
|
||||
image: python:latest
|
||||
when:
|
||||
event: tag
|
||||
branch: [main, master]
|
||||
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.2"
|
||||
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