Skip to content

fix(ci): absorb the v prefix a release dispatch is typed with - #103

Merged
florianmousseau merged 1 commit into
mainfrom
fix/release-version-prefix
Jul 31, 2026
Merged

fix(ci): absorb the v prefix a release dispatch is typed with#103
florianmousseau merged 1 commit into
mainfrom
fix/release-version-prefix

Conversation

@florianmousseau

Copy link
Copy Markdown
Contributor

The release workflow reads the version from a dispatch field and looks the
changelog section up by its heading, ## [1.8.11]. Typing the tag instead
of the version - v1.8.11 - makes it search for ## [v1.8.11], which
cannot exist, and the run fails on:

No changelog section for [v1.8.11].

That is the guard doing its job: it refuses to tag and publish a version
whose notes it cannot find. But the field asks for a bare number while the
thing everyone has in mind is the tag, so the mistake is a reflex, and it
costs a red run in the history of a public repository (it happened on
2026-07-30, fourteen seconds after release: 1.8.11 was merged).

The prefix is now absorbed once, in the step that already resolves the
target commit, and both later steps read the normalised value. The field
description says so instead of asking the reader to remember it.

Nothing else changes: a dispatch on 1.8.19 behaves exactly as before, and
the workflow stays idempotent on a version already released.

@sonarqubecloud

Copy link
Copy Markdown

@florianmousseau
florianmousseau merged commit 8f2185a into main Jul 31, 2026
7 checks passed
@florianmousseau
florianmousseau deleted the fix/release-version-prefix branch July 31, 2026 22:21
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