Skip to content

🐛 fix: check out full history for builds - #25

Merged
gaborbernat merged 2 commits into
mainfrom
fix/build-fetch-depth
Oct 26, 2026
Merged

gaborbernat merged 2 commits into
mainfrom
fix/build-fetch-depth

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

6.0.0 removed the tag identity check from the validate-python-release build job and dropped fetch-depth: 0 with it. That history was also what lets hatch-vcs and setuptools-scm find the release tag, so bump-deps-index 1.17.10 built 0.1.dev1+ga10dea647 and PyPI rejected the upload. Nothing was published. This restores the full-history checkout.

gaborbernat and others added 2 commits October 26, 2026 13:47
The build job lost fetch-depth 0 together with the tag identity check,
so hatch-vcs saw no tag and built 0.1.dev1+g<sha>.
@gaborbernat
gaborbernat merged commit b13a028 into main Oct 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant