mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-03-25 16:00:28 +01:00
Update release.yml
This commit is contained in:
parent
6db9521842
commit
672dcf8f82
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user