Skip to content

Commit

Permalink
chore: Change the format for sha512 sum for releases (apache#25577)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianliebscher authored Oct 19, 2023
1 parent 39ad322 commit 505678b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ fi
NAME="${1}"
if [ -z "${2}" ]; then
gpg --armor --output "${NAME}".asc --detach-sig "${NAME}"
gpg --print-md SHA512 "${NAME}" > "${NAME}".sha512
else
# The GPG key name to use
GPG_LOCAL_USER="${2}"
gpg --local-user "${GPG_LOCAL_USER}" --armor --output "${NAME}".asc --detach-sig "${NAME}"
gpg --local-user "${GPG_LOCAL_USER}" --print-md SHA512 "${NAME}" > "${NAME}".sha512
fi
shasum -a 512 "${NAME}" > "${NAME}.sha512"

0 comments on commit 505678b

Please sign in to comment.