From a2fb502869b6287d66ca228ae57c75900cf5398a Mon Sep 17 00:00:00 2001 From: Simon Kelly Date: Tue, 26 May 2026 11:51:21 +0200 Subject: [PATCH] chore: prep 2.1.0a1 alpha release with procrastinate support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps version to a PEP 440 alpha so the procrastinate integration can ship for early users without committing to it as a stable 2.1.0. Also drops the `--format "{base}"` from the release workflow's dunamai call. `{base}` strips the pre-release suffix, which broke two things: the tag/version equality check (`v2.1.0a1` != `v2.1.0`) and the artifact upload path (built wheels are named `taskbadger-2.1.0a1-*`, not `taskbadger-2.1.0-*`). The default dunamai output is already PEP 440, so this fix is general — beta/rc tags will also work going forward. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/release.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a433e19..3fb927d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: enable-cache: true - name: Add version to environment vars run: | - PROJECT_VERSION=$(uvx dunamai from any --format "{base}") + PROJECT_VERSION=$(uvx dunamai from any) echo "PROJECT_VERSION=$PROJECT_VERSION" >> $GITHUB_ENV - name: Check if tag version matches project version run: | diff --git a/pyproject.toml b/pyproject.toml index ea41359..81a42eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "taskbadger" -version = "2.0.0" +version = "2.1.0a1" description = "The official Python SDK for Task Badger" requires-python = ">=3.10" authors = []