fix: publish Forgejo releases atomically #272

Merged
andres merged 6 commits from build/271-atomic-forgejo-release into main 2026-08-30 10:47:56 +00:00
Showing only changes of commit fe4ec57ff2 - Show all commits

View file

@ -1197,6 +1197,7 @@ TAG_GUARD="$TMP/tag-release-guard.sh"
} >"$TAG_GUARD"
chmod +x "$TAG_GUARD"
mkdir -p "$TMP/tag-guard-lib/lib"
# shellcheck disable=SC2016 # expanded when the generated helper runs, not while this test writes it
printf '%s\n' \
'forge_select() { :; }' \
'forge_release_exists() { case "$RELEASE_EXISTS" in error) return 1 ;; *) echo "$RELEASE_EXISTS" ;; esac; }' \