Compare commits
22 Commits
Author | SHA1 | Date | |
---|---|---|---|
8ba9a1e193 | |||
a7c1fb916c | |||
d25ec309f1 | |||
a67ba1ca6d | |||
b073a07e23 | |||
8b05e06dd3 | |||
649ea35606 | |||
9d598e0612 | |||
0c6a3edb34 | |||
5f7c16b566 | |||
54de7ffe5d | |||
b900700f20 | |||
e7ec6e30f5 | |||
5ff0382165 | |||
2878641dbe | |||
2b12bee86e | |||
dd8da23874 | |||
2b0c6323c3 | |||
637f2f0ff3 | |||
edf291a9a3 | |||
e15c733d15 | |||
f8e352cc07 |
@ -1,9 +0,0 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: python:latest
|
||||
when:
|
||||
event: tag
|
||||
commands:
|
||||
- python --version
|
||||
- pip install -U build --quiet
|
||||
- build
|
@ -1,13 +0,0 @@
|
||||
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
|
20
.woodpecker/release.yml
Normal file
20
.woodpecker/release.yml
Normal file
@ -0,0 +1,20 @@
|
||||
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,3 +1,5 @@
|
||||
# Woodpecker Python Test
|
||||
|
||||
![Status badge](https://woodpecker.exu.li/api/badges/woodpecker-test/python/status.svg)
|
||||
[![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
|
||||
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "woodpecker-realstickman"
|
||||
version = "0.0.4"
|
||||
version = "0.0.15"
|
||||
authors = [
|
||||
{ name="RealStickman", email="mrc@frm01.net" },
|
||||
]
|
||||
@ -23,8 +23,8 @@ dependencies = [
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = ""
|
||||
"Bug Tracker" = ""
|
||||
"Homepage" = "https://gitea.exu.li/woodpecker-test/python"
|
||||
"Bug Tracker" = "https://gitea.exu.li/woodpecker-test/python/issues"
|
||||
|
||||
[tool.hatch.build]
|
||||
include = [
|
||||
|
Loading…
Reference in New Issue
Block a user