Bot Updating Templated Files

This commit is contained in:
LinuxServer-CI 2024-11-12 03:45:45 +00:00
parent 43dc01e879
commit 452fa83c83
No known key found for this signature in database

2
Jenkinsfile vendored
View File

@ -848,7 +848,7 @@ pipeline {
echo '{"tag_name":"'${META_TAG}'",\
"target_commitish": "ubuntu-i3",\
"name": "'${META_TAG}'",\
"body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**OS Changes:**\\n\\n' > start
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**OS Changes:**\\n\\n' > start
printf '","draft": false,"prerelease": true}' >> releasebody.json
paste -d'\\0' start releasebody.json > releasebody.json.done
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''