Make branch prerelease

This commit is contained in:
TheSpad 2022-11-23 22:01:02 +00:00
parent c0d4113763
commit 74f5333bc7
No known key found for this signature in database
GPG key ID: 08F06191F4587860
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View file

@ -875,7 +875,7 @@ pipeline {
"target_commitish": "3.16",\
"name": "'${META_TAG}'",\
"body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**OS Changes:**\\n\\n' > start
printf '","draft": false,"prerelease": false}' >> releasebody.json
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'''
}

View file

@ -3,7 +3,7 @@
# jenkins variables
project_name: docker-baseimage-alpine
external_type: os
release_type: stable
release_type: prerelease
release_tag: "3.16"
ls_branch: "3.16"
repo_vars: