mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 20:11:01 +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"}
|
version=${TAG_VERSION#"v"}
|
||||||
|
|
||||||
# JSON payload with the new content
|
# 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
|
# API endpoint to create a new commit
|
||||||
url="https://api.github.com/repos/$repo/contents/$file_path"
|
url="https://api.github.com/repos/$repo/contents/$file_path"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user