Repository: incubator-toree Updated Branches: refs/heads/master 7eb8ed153 -> dcc731fb5
[TOREE-453] Fix SHA512 extension on release distros Project: http://git-wip-us.apache.org/repos/asf/incubator-toree/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree/commit/dcc731fb Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree/tree/dcc731fb Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree/diff/dcc731fb Branch: refs/heads/master Commit: dcc731fb5548d0ba1251dc55220325692298334d Parents: da1a672 Author: Luciano Resende <lrese...@apache.org> Authored: Sat Nov 4 17:54:23 2017 -0700 Committer: Luciano Resende <lrese...@apache.org> Committed: Sat Nov 4 17:56:13 2017 -0700 ---------------------------------------------------------------------- Makefile | 12 ++++++------ etc/tools/sign-file | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-toree/blob/dcc731fb/Makefile ---------------------------------------------------------------------- diff --git a/Makefile b/Makefile index 02c4e4f..3f812ca 100644 --- a/Makefile +++ b/Makefile @@ -228,10 +228,10 @@ dist/toree-pip/toree-$(BASE_VERSION).tar.gz: dist/toree pip-release: dist/toree-pip/toree-$(BASE_VERSION).tar.gz -dist/toree-pip/toree-$(BASE_VERSION).tar.gz.md5 dist/toree-pip/toree-$(BASE_VERSION).tar.gz.asc dist/toree-pip/toree-$(BASE_VERSION).tar.gz.sha: dist/toree-pip/toree-$(BASE_VERSION).tar.gz +dist/toree-pip/toree-$(BASE_VERSION).tar.gz.md5 dist/toree-pip/toree-$(BASE_VERSION).tar.gz.asc dist/toree-pip/toree-$(BASE_VERSION).tar.gz.sha512: dist/toree-pip/toree-$(BASE_VERSION).tar.gz @GPG_PASSWORD='$(GPG_PASSWORD)' GPG=$(GPG) etc/tools/./sign-file dist/toree-pip/toree-$(BASE_VERSION).tar.gz -sign-pip: dist/toree-pip/toree-$(BASE_VERSION).tar.gz.md5 dist/toree-pip/toree-$(BASE_VERSION).tar.gz.asc dist/toree-pip/toree-$(BASE_VERSION).tar.gz.sha +sign-pip: dist/toree-pip/toree-$(BASE_VERSION).tar.gz.md5 dist/toree-pip/toree-$(BASE_VERSION).tar.gz.asc dist/toree-pip/toree-$(BASE_VERSION).tar.gz.sha512 publish-pip: DOCKER_WORKDIR=/srv/toree/dist/toree-pip publish-pip: PYPI_REPO?=https://pypi.python.org/pypi @@ -254,10 +254,10 @@ dist/toree-bin/toree-$(VERSION)-bin.tar.gz: dist/toree bin-release: dist/toree-bin/toree-$(VERSION)-bin.tar.gz -dist/toree-bin/toree-$(VERSION)-bin.tar.gz.md5 dist/toree-bin/toree-$(VERSION)-bin.tar.gz.asc dist/toree-bin/toree-$(VERSION)-bin.tar.gz.sha: dist/toree-bin/toree-$(VERSION)-bin.tar.gz +dist/toree-bin/toree-$(VERSION)-bin.tar.gz.md5 dist/toree-bin/toree-$(VERSION)-bin.tar.gz.asc dist/toree-bin/toree-$(VERSION)-bin.tar.gz.sha512: dist/toree-bin/toree-$(VERSION)-bin.tar.gz @GPG_PASSWORD='$(GPG_PASSWORD)' GPG=$(GPG) etc/tools/./sign-file dist/toree-bin/toree-$(VERSION)-bin.tar.gz -sign-bin: dist/toree-bin/toree-$(VERSION)-bin.tar.gz.md5 dist/toree-bin/toree-$(VERSION)-bin.tar.gz.asc dist/toree-bin/toree-$(VERSION)-bin.tar.gz.sha +sign-bin: dist/toree-bin/toree-$(VERSION)-bin.tar.gz.md5 dist/toree-bin/toree-$(VERSION)-bin.tar.gz.asc dist/toree-bin/toree-$(VERSION)-bin.tar.gz.sha512 publish-bin: @@ -270,10 +270,10 @@ dist/toree-src/toree-$(VERSION)-src.tar.gz: src-release: dist/toree-src/toree-$(VERSION)-src.tar.gz -dist/toree-src/toree-$(VERSION)-src.tar.gz.md5 dist/toree-src/toree-$(VERSION)-src.tar.gz.asc dist/toree-src/toree-$(VERSION)-src.tar.gz.sha: dist/toree-src/toree-$(VERSION)-src.tar.gz +dist/toree-src/toree-$(VERSION)-src.tar.gz.md5 dist/toree-src/toree-$(VERSION)-src.tar.gz.asc dist/toree-src/toree-$(VERSION)-src.tar.gz.sha512: dist/toree-src/toree-$(VERSION)-src.tar.gz @GPG_PASSWORD='$(GPG_PASSWORD)' GPG=$(GPG) etc/tools/./sign-file dist/toree-src/toree-$(VERSION)-src.tar.gz -sign-src: dist/toree-src/toree-$(VERSION)-src.tar.gz.md5 dist/toree-src/toree-$(VERSION)-src.tar.gz.asc dist/toree-src/toree-$(VERSION)-src.tar.gz.sha +sign-src: dist/toree-src/toree-$(VERSION)-src.tar.gz.md5 dist/toree-src/toree-$(VERSION)-src.tar.gz.asc dist/toree-src/toree-$(VERSION)-src.tar.gz.sha512 publish-src: http://git-wip-us.apache.org/repos/asf/incubator-toree/blob/dcc731fb/etc/tools/sign-file ---------------------------------------------------------------------- diff --git a/etc/tools/sign-file b/etc/tools/sign-file index ef65394..a64f1e8 100755 --- a/etc/tools/sign-file +++ b/etc/tools/sign-file @@ -35,7 +35,7 @@ if [[ -f "${file_to_sign}" ]]; then echo "Generating signature and sums for ${file_to_sign}" echo ${GPG_PASSWORD} | ${GPG} --passphrase-fd 0 --armor --output "${file_to_sign}.asc" --detach-sig "${file_to_sign}" echo ${GPG_PASSWORD} | ${GPG} --passphrase-fd 0 --print-md MD5 "${file_to_sign}" > "${file_to_sign}.md5" - echo ${GPG_PASSWORD} | ${GPG} --passphrase-fd 0 --print-md SHA512 "${file_to_sign}" > "${file_to_sign}.sha" + echo ${GPG_PASSWORD} | ${GPG} --passphrase-fd 0 --print-md SHA512 "${file_to_sign}" > "${file_to_sign}.sha512" exit 0 else echo "ERROR: File ${file_to_sign} does not exist"