Adding a double quote into a Slack notification string results in a template error #4556
Closed
3 of 4 tasks
Labels
bug
Something isn't working
What happened?
When using Slack notifications via
blocks
orattachments
, a template error is seen when using"
in the message, for instance when{{ envOrDefault "USER" "" }}
We receive the following error:
This occurs for both single quoted strings and double quoted strings containing the values:
How can we reproduce this?
I've raised a draft PR at #4555 which introduces the test code to reproduce.
goreleaser version
GoReleaser Check
Search
Supporter
Code of Conduct
Additional context
#4555 is the tests to show the issue
The text was updated successfully, but these errors were encountered: