Skip to content

Commit 7e9d4ec

Browse files
committed
fix(ci): add fetch-depth 0 to release workflow for hatch-vcs
- Ensures full git history is available for version detection - Fixes PyPI packaging issue with missing Name/Version metadata - Required for hatch-vcs to properly determine version from tags
1 parent c04ac9d commit 7e9d4ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0 # Required for hatch-vcs to work properly
1820
- name: Set up Python
1921
uses: actions/setup-python@v5
2022
with:

0 commit comments

Comments
 (0)