Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2349439fcc | ||
|
|
d20c0a4076 | ||
|
|
605f423ff0 | ||
|
|
e78d55759c | ||
|
|
0cb912466e | ||
|
|
36eff17046 | ||
|
|
5d34b8eeaf | ||
|
|
6696ff900e |
@@ -1,36 +0,0 @@
|
|||||||
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_PASSWORD }}
|
|
||||||
TWINE_PASSWORD: ${{ secrets.TWINE_USERNAME }}
|
|
||||||
# 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/*
|
|
||||||
+2
-8
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "utils"
|
name = "utils"
|
||||||
version = "0.1.2"
|
version = "0.1.1"
|
||||||
description = "Some hopefully useful utilities to use in everyday coding"
|
description = "This is a test version bump with only minor improvements"
|
||||||
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,12 +30,6 @@ 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"
|
||||||
|
|||||||
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user