Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,14 @@ jobs:
fi

- name: Install build + release tools
run: uv tool install python-semantic-release && uv tool install twine
# Pinned: python-semantic-release declares gitpython~=3.0, so an
# unpinned install can resolve GitPython 3.1.60+, which removed
# git.Actor.name_email_regex and breaks semantic-release's `version`
# command outright ("type object 'Actor' has no attribute
# 'name_email_regex'"). Pin both explicitly until upstream adapts.
run: |
uv tool install python-semantic-release==10.6.1 --with gitpython==3.1.59
uv tool install twine

- name: Run semantic-release (bump + tag, no push yet)
id: release
Expand All @@ -157,7 +164,7 @@ jobs:
# version to pyproject.toml + __init__.py, tags it, and regenerates the
# changelog, but does not push yet (--no-push) so we can regenerate
# uv.lock and amend before sending.
PSR="uv tool run --from python-semantic-release semantic-release"
PSR="uv tool run --from python-semantic-release==10.6.1 --with gitpython==3.1.59 semantic-release"
$PSR version "--$BUMP" --no-vcs-release --no-push --changelog
# A dispatch always cuts a release; report the just-published version.
echo "version=$($PSR version --print)" >> "$GITHUB_OUTPUT"
Expand Down
Loading