feat(ci): ISO releases by a Steamify release or by hand (not every push), Dutch time in the name, tag and label, annotated tags (their own date: the mirror sorts releases on the same commit in order)

This commit is contained in:
theupriser committed 2026-09-29 22:09:33 +02:00
1 parent 1ca1a71ed2
commit fc4c3ec95d
4 files changed
+20 -15

No files matched your search

+3 -3
View File
@@ -46,7 +46,7 @@ jobs:
m=("${BASH_REMATCH[@]}")
{
echo "STEAMIFY_VERSION=${m[1]}"
# One moment for the ISO's label (profiledef.sh) and the release's name: the tag's.
# One moment for the ISO's label (profiledef.sh) and the release's name: the tag's (Dutch time).
echo "STEAMIFY_BUILD_STAMP=${m[3]}${m[4]}${m[5]}_${m[6]}"
echo "ISO_PRERELEASE=$([ -n "${m[2]}" ] && echo true || echo false)"
} >> "$GITHUB_ENV"
@@ -70,9 +70,9 @@ jobs:
tag="${{ github.ref_name }}" b="$STEAMIFY_BUILD_STAMP"
stamp="${b:0:4}.${b:4:2}.${b:6:2}-${b:9:4}"
if [ "$ISO_PRERELEASE" = true ]; then
name="CachyOS with Steamify Live ISO $STEAMIFY_VERSION (test build $stamp UTC)"
name="CachyOS with Steamify Live ISO $STEAMIFY_VERSION (test build $stamp)"
else
name="CachyOS with Steamify Live ISO $STEAMIFY_VERSION ($stamp UTC)"
name="CachyOS with Steamify Live ISO $STEAMIFY_VERSION ($stamp)"
fi
# Never overwritten: a release for this tag that already has the ISO is left alone.
api="${{ github.server_url }}/api/v1/repos/${{ github.repository }}"