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.
2 parents b2f73cc + 4bf6ed0 commit 4e627fcCopy full SHA for 4e627fc
.github/workflows/deploy.yml
@@ -37,6 +37,7 @@ jobs:
37
run: |
38
changelog_section_start="== Changelog =="
39
readme_file="$readme_file"
40
+ plugin_version="${{ github.ref_name }}" # Assuming the tag is the version
41
42
in_changelog=0
43
release_notes=""
@@ -60,8 +61,8 @@ jobs:
60
61
exit 1
62
fi
63
- # Use printf to handle newlines correctly
64
- echo -e "RELEASE_NOTES=$release_notes" >> $GITHUB_ENV
+ # Use printf to handle newlines correctly and escape special characters
65
+ printf "RELEASE_NOTES<<EOF\n%s\nEOF\n" "$release_notes" >> $GITHUB_ENV
66
source $GITHUB_ENV # Ensure the environment variable is available for subsequent steps
67
68
- name: Create zip file
0 commit comments