Skip to content

fix(release): fix goreleaser YAML escape in before hook#15

Merged
intel352 merged 1 commit into
masterfrom
fix/release-pipeline-v0.3.3-goreleaser
May 24, 2026
Merged

fix(release): fix goreleaser YAML escape in before hook#15
intel352 merged 1 commit into
masterfrom
fix/release-pipeline-v0.3.3-goreleaser

Conversation

@intel352

Copy link
Copy Markdown
Contributor

Root cause

goreleaser v2.16.0 has stricter YAML parsing. The \. in the double-quoted before hook string is an unknown YAML escape sequence. Previously worked with goreleaser v2.15.4.

Fix

Combined both sed expressions into one command and replaced \.0-9]* regex with [^/]* (no backslash escape needed), matching the pattern used in workflow-plugin-botdetect.

goreleaser v2.16.0 rejects \. in double-quoted YAML strings. Combined
both sed expressions into one command using [^/]* instead of \.
(matching botdetect pattern).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@intel352 intel352 merged commit 3e734ae into master May 24, 2026
1 check passed
@intel352 intel352 deleted the fix/release-pipeline-v0.3.3-goreleaser branch May 24, 2026 22:32
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