The pre-commit version check hook was incorrectly using `git describe` to find the latest tag, which only traverses the current branch's ancestry. On feature branches that predate release tags applied to main/nightly, this caused false failures — reporting v0.19.1 as latest even though v0.20.0 and v0.21.0 existed globally. Replaced with `git tag --sort=-v:refname | grep semver | head -1` so the check always compares .version against the true latest release tag in the repository, independent of which branch is checked out.
2 lines
8 B
Plaintext
2 lines
8 B
Plaintext
v0.21.0
|