Keep the tag's SSH signature out of the release notes #41
@@ -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
|
||||
|
||||
Reference in new issue
Block a user