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