You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/10/19 19:26:26 UTC

[superset] branch master updated: chore: Change the format for sha512 sum for releases (#25577)

This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 505678b37b chore: Change the format for sha512 sum for releases (#25577)
505678b37b is described below

commit 505678b37bdacc7e6088e66a714b30ceb8c7f8a4
Author: Sebastian Liebscher <11...@users.noreply.github.com>
AuthorDate: Thu Oct 19 21:26:20 2023 +0200

    chore: Change the format for sha512 sum for releases (#25577)
---
 scripts/sign.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/sign.sh b/scripts/sign.sh
index 283c511513..435975c1de 100755
--- a/scripts/sign.sh
+++ b/scripts/sign.sh
@@ -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"