Skip to content

Commit 672dcf8

Browse files
committed
Update release.yml
1 parent 6db9521 commit 672dcf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
version=${TAG_VERSION#"v"}
152152
153153
# JSON payload with the new content
154-
payload="{\"message\": \"Update version.json to $version\", \"content\": \"$(echo "$version" | base64 -w 0)\", \"sha\": \"$sha\"}"
154+
payload="{\"message\": \"Update version.json to $version\", \"content\": \"$(echo -ne "$version\n" | base64 -w 0)\", \"sha\": \"$sha\"}"
155155
156156
# API endpoint to create a new commit
157157
url="https://api.github.com/repos/$repo/contents/$file_path"

0 commit comments

Comments
 (0)