airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaxiln...@apache.org
Subject [airflow] 02/02: Change the format for sha512 sum for releases (#12867)
Date Wed, 10 Mar 2021 00:17:04 GMT
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit a65c1b93724b365135f455271e6d7d60478008c2
Author: Kaxil Naik <kaxilnaik@gmail.com>
AuthorDate: Sun Dec 6 23:46:06 2020 +0000

    Change the format for sha512 sum for releases (#12867)
    
    closes https://github.com/apache/airflow/issues/12832
    
    This format is popular and supported by tools like Ansible.
    
    ```
    ❯ sha512sum ../airflow-dev/1.10.14rc3/apache-airflow-1.10.14rc3-bin.tar.gz
    953d3c04ee6fd2fa96e126750e642fc0872add96d180901440a91bd61c494a711b48836c634d93dcb181006935772556d5b4426671bf1a638f0a0698b51b119f
 ../airflow-dev/1.10.14rc3/apache-airflow-1.10.14rc3-bin.tar.gz
    ```
    
    vs
    
    ```
    ❯ gpg --print-md SHA512 ../airflow-dev/1.10.14rc3/apache-airflow-1.10.14rc3-bin.tar.gz
    ../airflow-dev/1.10.14rc3/apache-airflow-1.10.14rc3-bin.tar.gz:
    953D3C04 EE6FD2FA 96E12675 0E642FC0 872ADD96 D1809014 40A91BD6 1C494A71 1B48836C
     634D93DC B1810069 35772556 D5B44266 71BF1A63 8F0A0698 B51B119F
    ```
    
    (cherry picked from commit a00f25011fc6c859b27b6c78b9201880cf6323ce)
---
 dev/sign.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/sign.sh b/dev/sign.sh
index a809fc6..a1b6916 100755
--- a/dev/sign.sh
+++ b/dev/sign.sh
@@ -30,5 +30,5 @@ SIGN_WITH="${SIGN_WITH:-apache.org}"
 for name in "${@}"
 do
     gpg --armor --local-user "$SIGN_WITH" --output "${name}.asc" --detach-sig "${name}"
-    gpg --print-md SHA512 "${name}" > "${name}.sha512"
+    shasum -a 512 "${name}" > "${name}.sha512"
 done


Mime
View raw message