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 6db9521 commit 672dcf8Copy full SHA for 672dcf8
.github/workflows/release.yml
@@ -151,7 +151,7 @@ jobs:
151
version=${TAG_VERSION#"v"}
152
153
# JSON payload with the new content
154
- payload="{\"message\": \"Update version.json to $version\", \"content\": \"$(echo "$version" | base64 -w 0)\", \"sha\": \"$sha\"}"
+ payload="{\"message\": \"Update version.json to $version\", \"content\": \"$(echo -ne "$version\n" | base64 -w 0)\", \"sha\": \"$sha\"}"
155
156
# API endpoint to create a new commit
157
url="https://api.github.com/repos/$repo/contents/$file_path"
0 commit comments