Repository navigation
v3.1.11 - fixes release install-smoke's manual tag resolution
Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.
Fixed
-
.github/workflows/release-install-smoke.yml's manual-dispatch tag resolution silently defaulted to the branch it ran on, not the "latest tag" its own input description promised.github.ref_nameis the triggering branch (not a tag) on aworkflow_dispatchevent, so thegit describe --tags --abbrev=0fallback was never actually reached. Now keyed offgithub.event_name. -
A second, independent bug surfaced immediately on the first real dispatch of that fix:
actions/checkout's default shallow clone has no tag history, so the newly-reachablegit describefallback itself failed (fatal: No names found, cannot describe anything.). Fixed withfetch-depth: 0.Verified live, not just locally simulated: a real
workflow_dispatchwith notaginput, run twice against the fix branch - the first run reproduced thegit describefailure exactly, the second (after thefetch-depth: 0fix) correctly resolved and installed the latest tag.Found by the
v3.1.10maintainability assessment (grade A-, recovered from B+ - finding #15).
See CHANGELOG.md for full details.