Keep the tag's SSH signature out of the release notes #41

Merged
jcoffey-dev merged 1 commits from ci/strip-ssh-tag-signature into main 2026-10-28 20:36:25 +00:00
+1 -1
View File
@@ -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