Skip to content

Commit 08aa214

Browse files
dbrattliclaude
andauthored
chore: fetch tags so PyPI publish resolves the real version (#4668)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5d53a15 commit 08aa214

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
UV_LINK_MODE: copy
1616
steps:
1717
- uses: actions/checkout@v6
18+
with:
19+
# Fetch the full history including tags so `dunamai --latest-tag`
20+
# can resolve the release version. Without this, the default shallow
21+
# checkout has no tags and dunamai falls back to 0.0.0.
22+
fetch-depth: 0
1823
- name: Setup .NET
1924
uses: actions/setup-dotnet@v5
2025
with:

0 commit comments

Comments
 (0)