We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf6ed0 commit ac70ea7Copy full SHA for ac70ea7
.github/workflows/deploy.yml
@@ -61,8 +61,9 @@ jobs:
61
exit 1
62
fi
63
64
- # Use printf to handle newlines correctly and escape special characters
65
- printf "RELEASE_NOTES<<EOF\n%s\nEOF\n" "$release_notes" >> $GITHUB_ENV
+ # Escape special characters and set the RELEASE_NOTES environment variable correctly
+ release_notes_escaped=$(echo "$release_notes" | awk '{printf "%s\\n", $0}')
66
+ echo "RELEASE_NOTES=$release_notes_escaped" >> $GITHUB_ENV
67
source $GITHUB_ENV # Ensure the environment variable is available for subsequent steps
68
69
- name: Create zip file
0 commit comments