Releases: suffixed tags (v0.1.0-alpha.1) are pre-releases
All checks were successful
Image, disk image and live ISO / iso (push) Successful in 37m46s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Philip Peterson 2026-11-02 14:59:25 -09:00
parent 8da036e5a0
commit 1304bc34e9

View file

@ -165,8 +165,10 @@ jobs:
api="$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/releases"
auth=(-H "Authorization: token $TOKEN")
id=$(jq -n --arg tag "$tag" --arg image "$IMAGE:$tag" '{tag_name: $tag, name: $tag,
body: "Container image: `\($image)`.\nFiles are checked by SHA256SUMS."}' |
# v1.2.3-alpha.1 and the like: a pre-release.
pre=false; [[ $tag != *-* ]] || pre=true
id=$(jq -n --arg tag "$tag" --arg image "$IMAGE:$tag" --argjson pre "$pre" '{tag_name: $tag, name: $tag,
prerelease: $pre, body: "Container image: `\($image)`.\nFiles are checked by SHA256SUMS."}' |
curl -fsS "${auth[@]}" -H 'Content-Type: application/json' -d @- "$api" | jq -er .id)
for f in release/*; do
name=${f#release/}