Skip to content

v3.1.17 - scope empty-input git describe fallback to v3

Latest

Choose a tag to compare

@n-ae n-ae released this 23 Jul 16:57
· 1 commit to main since this release
20f5fe0

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Fixed

  • The empty-input workflow_dispatch fallback (git describe --tags --abbrev=0) resolves the nearest tag reachable from HEAD of any major version, not just v3 - harmless today since every tag in this repo has been v3.x.y, but v3.1.16 rewrote this input's description to promise "the nearest reachable v3 tag" without actually scoping the underlying git describe call. Once a v4.0.0 (or an out-of-order earlier-major hotfix) tag became nearer to main than the latest v3 release, an empty-input dispatch would resolve to it and then fail the v3.1.16-added ^v3\. guard, rather than falling back to the nearest actual v3 tag as documented.

    Verified both the original gap and the fix in a throwaway clone: an unscoped git describe picks up a simulated later v4.0.0 tag exactly as predicted; --match 'v3.*' correctly stays on the latest real v3 release.

Found by the v3.1.16 maintainability assessment (grade A-, held; finding #26).

See CHANGELOG.md for full details.