Compare commits

...

17 Commits
v0.0.9 ... main

Author SHA1 Message Date
8ba9a1e193 Update 0.0.15
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/linting Pipeline failed
ci/woodpecker/tag/linting Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
2022-10-01 11:09:22 +02:00
a7c1fb916c Remove random test again
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/linting Pipeline failed
2022-09-28 19:55:30 +02:00
d25ec309f1 Update 'README.md' 2022-09-28 19:49:26 +02:00
a67ba1ca6d Update 'README.md' 2022-09-28 19:48:38 +02:00
b073a07e23 remove branch condition again 2022-09-13 15:19:52 +02:00
8b05e06dd3 update 0.0.14
Some checks failed
ci/woodpecker/tag/release Pipeline was successful
ci/woodpecker/tag/linting Pipeline failed
2022-09-13 15:03:07 +02:00
649ea35606 try this as filter 2022-09-13 15:02:29 +02:00
9d598e0612 Update 0.0.13
Some checks failed
ci/woodpecker/tag/release Pipeline was successful
ci/woodpecker/tag/linting Pipeline failed
2022-09-13 14:56:51 +02:00
0c6a3edb34 Add main or master branch condition 2022-09-13 14:56:03 +02:00
5f7c16b566 Update 0.0.12
Some checks failed
ci/woodpecker/tag/linting Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
2022-09-12 19:40:34 +02:00
54de7ffe5d Remove debugging ls 2022-09-12 19:40:22 +02:00
b900700f20 Modify status badge 2022-09-12 19:40:07 +02:00
e7ec6e30f5 Update 0.0.11
Some checks failed
ci/woodpecker/tag/linting Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
2022-09-12 19:38:28 +02:00
5ff0382165 Only on tag event
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/linting Pipeline failed
2022-09-12 19:37:43 +02:00
2878641dbe modify release pipeline into two separated steps
Some checks failed
ci/woodpecker/push/release Pipeline failed
ci/woodpecker/push/linting Pipeline failed
2022-09-12 19:36:34 +02:00
2b12bee86e Update README 2022-09-12 19:33:33 +02:00
dd8da23874 It was probably missing URLs
Some checks failed
ci/woodpecker/tag/linting Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
2022-09-12 19:29:46 +02:00
3 changed files with 18 additions and 7 deletions

View File

@ -3,9 +3,18 @@ pipeline:
image: python:latest image: python:latest
when: when:
event: tag event: tag
secrets: [ twine_username, twine_password ] # branch: [ main, master ] doesn't work atm
commands: commands:
- python --version - python --version
- pip install -U build twine --quiet - pip install -U build --quiet
- python -m build - python -m build
- python -m twine upload --skip-existing --repository testpypi --verbose -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
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/*

View File

@ -1,3 +1,5 @@
# Woodpecker Python Test # 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

View File

@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project] [project]
name = "woodpecker-realstickman" name = "woodpecker-realstickman"
version = "0.0.9" version = "0.0.15"
authors = [ authors = [
{ name="RealStickman", email="mrc@frm01.net" }, { name="RealStickman", email="mrc@frm01.net" },
] ]
@ -23,8 +23,8 @@ dependencies = [
] ]
[project.urls] [project.urls]
"Homepage" = "" "Homepage" = "https://gitea.exu.li/woodpecker-test/python"
"Bug Tracker" = "" "Bug Tracker" = "https://gitea.exu.li/woodpecker-test/python/issues"
[tool.hatch.build] [tool.hatch.build]
include = [ include = [