Skip to content

fix(docker-promote): quote version in tag suffix removal - #171

Merged
PierreJeanjacquot merged 1 commit into
mainfrom
fix/promote-shellcheck
Oct 1, 2026
Merged

PierreJeanjacquot merged 1 commit into
mainfrom
fix/promote-shellcheck

Conversation

@PierreJeanjacquot

Copy link
Copy Markdown
Member

The unquoted $version inside ${TAG%-v$version} was interpreted as a glob pattern (shellcheck SC2295), so glob characters in a version would strip more than the literal -v<version> suffix. Quote it so the suffix is matched literally. Release-please versions never contain glob characters, so the computed component is unchanged in practice.

The unquoted `$version` inside `${TAG%-v$version}` was interpreted as a glob pattern (shellcheck SC2295), so glob characters in a version would strip more than the literal `-v<version>` suffix. Quote it so the suffix is matched literally. Release-please versions never contain glob characters, so the computed component is unchanged in practice.
@PierreJeanjacquot
PierreJeanjacquot merged commit 3fac9a7 into main Oct 1, 2026
4 checks passed
@PierreJeanjacquot
PierreJeanjacquot deleted the fix/promote-shellcheck branch October 1, 2026 14:19
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.

2 participants