From 68b5c83f8ab3224b333a1a994566a73cecdd6b14 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Wed, 28 Oct 2026 13:35:39 -0700 Subject: [PATCH] Keep the tag's SSH signature out of the release notes The notes are the tag's message, and the step cut it off at a PGP signature only. Tags are SSH-signed, so every release since then has ended with the signature block. Any armored signature now ends the notes. Claude-Session: https://claude.ai/code/session_01Y2F7CWRXorttf5sjSbxwpj --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 945f4c5..0d2ee16 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -57,7 +57,7 @@ jobs: apt-get -qq update >/dev/null && apt-get -qq install -y --no-install-recommends jq >/dev/null API="$CI_SERVER_INTERNAL/api/v1/repos/$GITHUB_REPOSITORY" auth=(-H "Authorization: token $TOKEN") - notes="$(git for-each-ref "refs/tags/$TAG" --format='%(contents)' | sed -e '/-----BEGIN PGP SIGNATURE-----/,$d')" + notes="$(git for-each-ref "refs/tags/$TAG" --format='%(contents)' | sed -e '/^-----BEGIN [A-Z ]*SIGNATURE-----$/,$d')" # PGP or SSH notes="$notes"$'\n\n'"Static binaries for linux/amd64 and linux/arm64. Verify with SHA256SUMS." pre=false; [[ "$TAG" == *-rc.* ]] && pre=true created=0 -- 2.54.0