From fdc329c8c943a1a4c4fbc19dbc84e2547731a667 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Fri, 17 Oct 2025 09:56:46 -0500 Subject: [PATCH] update to keep single source of truth for release version number --- .github/workflows/release.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f98a21d..0355114 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -324,6 +324,14 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" + - name: Set up Python 3.13 + uses: actions/setup-python@v5 + with: + python-version: '3.13' + + - name: Install Poetry + uses: snok/install-poetry@v1 + - name: Check branches and verify merge readiness id: check-branches env: @@ -370,7 +378,9 @@ jobs: GH_TOKEN: ${{ secrets.CI_CD_PAT }} run: | set -e - VERSION="${{ github.event.inputs.new_version }}" + # Read version from pyproject.toml (single source of truth) + VERSION="$(poetry version -s)" + echo "Using version from pyproject.toml: $VERSION" # Create PR with auto-merge enabled PR_URL=$(gh pr create \