Compare commits
9
Commits
2349439fcc
..
v0.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e2842e9b5 | ||
|
|
2ad038211c | ||
|
|
9f85c0034f | ||
|
|
fd36654d58 | ||
|
|
d56a4cdf34 | ||
|
|
0197339eb0 | ||
|
|
9d13c6ec14 | ||
|
|
34186463fc | ||
|
|
5af8d7f443 |
@@ -0,0 +1,36 @@
|
|||||||
|
name: Publish Package to Gitea
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*" # This triggers the workflow when you push a tag like v1.0.0
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest # Or your specific runner label
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.x"
|
||||||
|
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install build twine
|
||||||
|
|
||||||
|
- name: Build package
|
||||||
|
run: python -m build
|
||||||
|
|
||||||
|
- name: Publish to Gitea PyPI
|
||||||
|
env:
|
||||||
|
# These secrets must match the names you created in Gitea
|
||||||
|
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
|
||||||
|
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||||
|
# REPLACE THIS URL with your actual Gitea PyPI endpoint
|
||||||
|
TWINE_REPOSITORY_URL: "https://gitea.schneiderserver.site/api/packages/mathias2784/pypi"
|
||||||
|
run: |
|
||||||
|
twine upload --repository-url $TWINE_REPOSITORY_URL dist/*
|
||||||
+8
-2
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "utils"
|
name = "utils"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
description = "This is a test version bump with only minor improvements"
|
description = "Some hopefully useful utilities to use in everyday coding"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Mathias Schneider", email = "mathias.schneider@d-fine.com" }
|
{ name = "Mathias Schneider", email = "mathias.schneider@d-fine.com" }
|
||||||
@@ -30,6 +30,12 @@ markers = [
|
|||||||
"live: opens a real GUI dialog, intended for local manual testing",
|
"live: opens a real GUI dialog, intended for local manual testing",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
# File modes are unreliable in this environment (/mnt/anbau mounts force 0777),
|
||||||
|
# which makes EXE002 report every file locally. Ignore it deliberately instead of
|
||||||
|
# relying on a personal global config that CI does not have.
|
||||||
|
ignore = ["EXE002"]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["uv_build>=0.12.20,<0.13.0"]
|
requires = ["uv_build>=0.12.20,<0.13.0"]
|
||||||
build-backend = "uv_build"
|
build-backend = "uv_build"
|
||||||
|
|||||||
Executable → Regular
Executable → Regular
Reference in New Issue
Block a user