Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52efde64c0 |
@@ -94,11 +94,11 @@ jobs:
|
||||
-H "Authorization: token ${GITEA_TOKEN}"
|
||||
done
|
||||
|
||||
# Update the release body to reflect the current version
|
||||
# Update the release body and ensure it stays marked as pre-release
|
||||
curl -s -X PATCH "${API_URL}/repos/${REPO}/releases/${RELEASE_ID}" \
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"body\": \"Rolling release — always points to the latest update manifest (currently v${VERSION}). Do not delete.\"}"
|
||||
-d "{\"body\": \"Rolling release — always points to the latest update manifest (currently v${VERSION}). Do not delete.\", \"prerelease\": true}"
|
||||
|
||||
else
|
||||
# Create the rolling release for the first time
|
||||
@@ -118,7 +118,7 @@ jobs:
|
||||
\"name\": \"Update Manifest (rolling)\",
|
||||
\"body\": \"Rolling release — always points to the latest update manifest (currently v${VERSION}). Do not delete.\",
|
||||
\"draft\": false,
|
||||
\"prerelease\": false
|
||||
\"prerelease\": true
|
||||
}")
|
||||
|
||||
RELEASE_ID=$(echo "${RELEASE}" | jq -r '.id')
|
||||
|
||||
Reference in New Issue
Block a user