Update release.yml

This commit is contained in:
Julian Prieber 2023-08-04 20:31:54 +02:00
parent 6db9521842
commit 672dcf8f82
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ jobs:
version=${TAG_VERSION#"v"}
# JSON payload with the new content
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\"}"
# API endpoint to create a new commit
url="https://api.github.com/repos/$repo/contents/$file_path"