Skip to content

v3.1.11 - fixes release install-smoke's manual tag resolution

Choose a tag to compare

@n-ae n-ae released this 23 Jul 05:34
· 15 commits to main since this release
e6db3f0

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_name is the triggering branch (not a tag) on a workflow_dispatch event, so the git describe --tags --abbrev=0 fallback was never actually reached. Now keyed off github.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-reachable git describe fallback itself failed (fatal: No names found, cannot describe anything.). Fixed with fetch-depth: 0.

    Verified live, not just locally simulated: a real workflow_dispatch with no tag input, run twice against the fix branch - the first run reproduced the git describe failure exactly, the second (after the fetch-depth: 0 fix) correctly resolved and installed the latest tag.

    Found by the v3.1.10 maintainability assessment (grade A-, recovered from B+ - finding #15).

See CHANGELOG.md for full details.