Skip to content

Fix release sign target detection when passed as single argument#9199

Merged
madelinevibes merged 1 commit into
ElementsProject:masterfrom
ShahanaFarooqui:fix-ci-release-signing
Jun 10, 2026
Merged

Fix release sign target detection when passed as single argument#9199
madelinevibes merged 1 commit into
ElementsProject:masterfrom
ShahanaFarooqui:fix-ci-release-signing

Conversation

@ShahanaFarooqui

@ShahanaFarooqui ShahanaFarooqui commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

The sign target detection uses pattern matching that requires spaces on both sides of "sign" in the TARGETS variable. When only "sign" is passed as an argument, TARGETS becomes " sign" (leading space only), causing the condition to fail.

Add an additional pattern match to detect "sign" with a leading space but no trailing space, which occurs when "sign" is the only target or the last target in the list.

This regression seems to have been exposed by GitHub Actions runner updates (Ubuntu 22.04 → 24.04), which changed argument passing behavior.

Changelog-None: Fixes the release signing issue only.

Fixes #9198.

… argument

The sign target detection uses pattern matching that requires spaces on
both sides of "sign" in the TARGETS variable. When only "sign" is passed
as an argument, TARGETS becomes " sign" (leading space only), causing
the condition to fail.

Add an additional pattern match to detect "sign" with a leading space
but no trailing space, which occurs when "sign" is the only target or
the last target in the list.

This regression seems to have been exposed by GitHub Actions runner
updates (Ubuntu 22.04 → 24.04), which changed argument passing behavior.

Changelog-None: Fixes the release signing issue in CI only.
@ShahanaFarooqui ShahanaFarooqui linked an issue Jun 5, 2026 that may be closed by this pull request
@madelinevibes madelinevibes added this to the v26.09 milestone Jun 10, 2026
@madelinevibes madelinevibes merged commit 1999237 into ElementsProject:master Jun 10, 2026
87 of 127 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SHA256SUMS files didn't create with the release actions

3 participants