fix: escape shell variables in release pipeline #7

Merged
benvin merged 1 commits from benvin/fix-release-vars into main 2026-06-23 00:42:40 +10:00
Owner

Woodpecker interpolates ${VERSION} as a (empty) CI variable before the shell runs. The VERSION shell variable set via sed was never visible to the FILE= line.

Fix: $$ escape all shell variable references ($${VERSION}, $${FILE}) so Woodpecker passes them through to the shell.

Woodpecker interpolates `${VERSION}` as a (empty) CI variable before the shell runs. The `VERSION` shell variable set via `sed` was never visible to the `FILE=` line. Fix: `$$` escape all shell variable references (`$${VERSION}`, `$${FILE}`) so Woodpecker passes them through to the shell.
unkinben added 1 commit 2026-06-23 00:39:31 +10:00
fix: escape shell variables in release pipeline
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
eeb4a60639
Woodpecker interpolates ${VERSION} as a CI variable (empty) before the
shell sees it. Use $$ escaping so the shell assignment and references
survive YAML interpolation.
benvin merged commit 4dcb3ac71a into main 2026-06-23 00:42:40 +10:00
benvin deleted branch benvin/fix-release-vars 2026-06-23 00:42:41 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/terraform-provider-artifactapi#7