From 8c42d5fa451d3ec894f671b9e26e7be8b116e4d5 Mon Sep 17 00:00:00 2001 From: Gitea CI Date: Mon, 24 Nov 2025 13:06:49 +0000 Subject: [PATCH 1/4] =?UTF-8?q?Bump=20version:=201.0.0=20=E2=86=92=201.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .version | 2 +- pyproject.toml | 4 ++-- src/__init__.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.version b/.version index afaf360..7f20734 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.0.0 \ No newline at end of file +1.0.1 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 536773b..b1c7a0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "semesterapparatsmanager" -version = "1.0.0" +version = "1.0.1" description = "Add your description here" readme = "README.md" requires-python = ">=3.13" @@ -42,7 +42,7 @@ swbtest = [ ] [tool.bumpversion] -current_version = "1.0.0" +current_version = "1.0.1" parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" serialize = ["{major}.{minor}.{patch}"] search = "{current_version}" diff --git a/src/__init__.py b/src/__init__.py index 93fbfbc..ad3de8e 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.0.0" +__version__ = "1.0.1" __author__ = "Alexander Kirchner" __all__ = ["__version__", "__author__", "Icon", "settings"] -- 2.49.1 From d6883b038804e682e958cb81efd6fd790622df52 Mon Sep 17 00:00:00 2001 From: Gitea CI Date: Mon, 24 Nov 2025 13:13:19 +0000 Subject: [PATCH 2/4] =?UTF-8?q?Bump=20version:=201.0.1=20=E2=86=92=201.0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .version | 2 +- pyproject.toml | 4 ++-- src/__init__.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.version b/.version index 7f20734..e6d5cb8 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.0.1 \ No newline at end of file +1.0.2 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 3b7a459..dad2c14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "semesterapparatsmanager" -version = "1.0.1" +version = "1.0.2" description = "Add your description here" readme = "README.md" requires-python = ">=3.13" @@ -36,7 +36,7 @@ dev = ["bump-my-version>=0.29.0", "icecream>=2.1.4", "nuitka>=2.5.9"] swbtest = ["alive-progress>=3.3.0"] [tool.bumpversion] -current_version = "1.0.1" +current_version = "1.0.2" parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" serialize = ["{major}.{minor}.{patch}"] search = "{current_version}" diff --git a/src/__init__.py b/src/__init__.py index ad3de8e..f9979f0 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.0.1" +__version__ = "1.0.2" __author__ = "Alexander Kirchner" __all__ = ["__version__", "__author__", "Icon", "settings"] -- 2.49.1 From 9dd4b0328e13e5bc0097b54d46e7dbbc48c45918 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Thu, 27 Nov 2025 14:08:56 +0100 Subject: [PATCH 3/4] chore(project): add missing dependencies to config --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index dad2c14..943090d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,11 +23,13 @@ dependencies = [ "pandas>=2.2.3", "pdfquery>=0.4.3", "playwright>=1.49.1", + "pymupdf>=1.26.6", "pyramid>=2.0.2", "pyside6>=6.9.1", "python-docx>=1.1.2", "pyzotero>=1.6.4", "ratelimit>=2.2.1", + "regex>=2025.11.3", "requests>=2.32.3", ] -- 2.49.1 From 760f5d1463ba573b29bb14d7fedfe5cc50f89858 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Mon, 1 Dec 2025 10:52:44 +0100 Subject: [PATCH 4/4] chore(ci): switch to only bump if all steps succeed --- .gitea/workflows/release.yml | 51 +++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 741c6d0..d9a5503 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -48,12 +48,7 @@ jobs: # Uses the version specified in pyproject.toml python-version-file: "pyproject.toml" - - name: Set Git identity - run: | - git config user.name "Gitea CI" - git config user.email "ci@git.theprivateserver.de" - - - name: Bump version + - name: Bump version (local only) id: bump run: | uv tool install bump-my-version @@ -64,13 +59,6 @@ jobs: echo "VERSION=$version" >> "$GITHUB_ENV" echo "version=$version" >> "$GITHUB_OUTPUT" echo "tag=v$version" >> "$GITHUB_OUTPUT" - # no env needed here, uv handles the Python it installs - - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }} - name: Build Changelog id: build_changelog @@ -221,3 +209,40 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.TOKEN }} # GITHUB_REPOSITORY: ${{ github.repository }} + + finalize: + needs: [prepare, build-linux, build-windows] + runs-on: ubuntu-latest + env: + VERSION: ${{ needs.prepare.outputs.version }} + + steps: + - name: Checkout code + uses: actions/checkout@v5 + with: + fetch-depth: 0 + fetch-tags: true + + - name: Install uv + uses: astral-sh/setup-uv@v7 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version-file: "pyproject.toml" + + - name: Set Git identity + run: | + git config user.name "Gitea CI" + git config user.email "ci@git.theprivateserver.de" + + - name: Bump version and push + run: | + uv tool install bump-my-version + uv tool run bump-my-version bump "${{ github.event.inputs.bump }}" + + - name: Push version bump + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} -- 2.49.1