Skip to content

Commit 5415977

Browse files
authored
Merge pull request #223 from linuxserver/release-notes
add upstream release notes
2 parents dbbda72 + 07a6278 commit 5415977

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎Jenkinsfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ pipeline {
12301230
"type": "commit",\
12311231
"tagger": {"name": "LinuxServer-CI","email": "ci@linuxserver.io","date": "'${GITHUB_DATE}'"}}'
12321232
echo "Pushing New release for Tag"
1233-
echo "Updating to ${EXT_RELEASE_CLEAN}" > releasebody.json
1233+
curl -H "Authorization: token ${GITHUB_TOKEN}" -s https://api.github.com/repos/coder/code-server/releases/tags/v${EXT_RELEASE} | jq -r '. |.body' > releasebody.json
12341234
jq -n \
12351235
--arg tag_name "$META_TAG" \
12361236
--arg target_commitish "master" \

‎jenkins-vars.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
project_name: docker-code-server
55
external_type: na
66
custom_version_command: "curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest | jq -r '.tag_name' | sed 's|^v||'"
7+
custom_release_notes_command: |-
8+
curl -H "Authorization: token ${GITHUB_TOKEN}" -s https://api.github.com/repos/coder/code-server/releases/tags/v${EXT_RELEASE} | jq -r '. |.body' > releasebody.json
79
release_type: stable
810
release_tag: latest
911
ls_branch: master

0 commit comments

Comments
 (0)