Skip to content

ci: build from the release tag, not branch HEAD#11

Merged
markgeejw merged 1 commit into
mainfrom
ci/build-from-tag
Jul 20, 2026
Merged

ci: build from the release tag, not branch HEAD#11
markgeejw merged 1 commit into
mainfrom
ci/build-from-tag

Conversation

@markgeejw

Copy link
Copy Markdown
Collaborator

Re-dispatched publish built 0.16.2.dev1+g… (rejected by PyPI as a local version) because it checked out main HEAD, which had advanced past v0.16.1. hatch-vcs needs to build exactly on the tag. Adds git checkout refs/tags/<tag> before the build.

hatch-vcs derives the version from git describe; on a manual re-run main can be
ahead of the tag, producing a rejected dev/local version (0.16.2.dev1+g…).
Check out refs/tags/<tag> before building so the exact release version is used.
@markgeejw
markgeejw merged commit 09c52d0 into main Jul 20, 2026
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