CI: Arch-Anhang-Teil entgiftet (grep-/Tag-Fallback mit || true); v0.1.6
All checks were successful
secret-probe / probe-arch (push) Successful in 2s
Release (AppImage + deb + pacman) / AppImage + deb (Ubuntu) (push) Successful in 4m28s
Release (AppImage + deb + pacman) / pacman (Arch) (push) Successful in 7m12s

This commit is contained in:
2026-11-07 14:22:26 +01:00
parent aac4205a45
commit 2781fef3ff
6 changed files with 11 additions and 11 deletions

View File

@ -133,14 +133,14 @@ jobs:
}
code=$(post_release | tail -n1)
RID=$(grep -o '"id": *[0-9]*' /tmp/hw-rel-body.json | head -n1 | grep -o '[0-9]*')
if [ -z "$RID" ] && [ "$code" != "201" ]; then
get_release >/dev/null
RID=$(grep -o '"id": *[0-9]*' /tmp/hw-rel-body.json | head -n1 | grep -o '[0-9]*')
RID=$(grep -o '"id": *[0-9]*' /tmp/hw-rel-body.json 2>/dev/null | head -n1 | grep -o '[0-9]*' || true)
if [ -z "$RID" ]; then
echo "POST-Code: $code — Fallback via Tag-Lookup"
get_release >/dev/null 2>&1
RID=$(grep -o '"id": *[0-9]*' /tmp/hw-rel-body.json 2>/dev/null | head -n1 | grep -o '[0-9]*' || true)
fi
if [ -z "$RID" ]; then
echo "Release-ID konnte nicht ermittelt werden (code=$code)"
exit 1
echo "Release-ID konnte nicht ermittelt werden (code=$code)"; exit 1
fi
echo "Release-ID: $RID"