You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2020/02/04 00:33:53 UTC

[incubator-annotator] 01/02: Create checksums when making the dist target

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

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit df8a1586c5caf4cba1ba0c63ebae0822301519df
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sat Feb 1 15:48:46 2020 -0800

    Create checksums when making the dist target
---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index 8bd355c..9967e05 100644
--- a/Makefile
+++ b/Makefile
@@ -30,4 +30,9 @@ dist:
 		--output apache-annotator-$(ANNOTATOR_VERSION).tar.gz \
 		--prefix apache-annotator-$(ANNOTATOR_VERSION)/ \
 		HEAD
+	@gpg -ab apache-annotator-$(ANNOTATOR_VERSION).tar.gz
+	@sha256sum apache-annotator-$(ANNOTATOR_VERSION).tar.gz \
+	  > apache-annotator-$(ANNOTATOR_VERSION).tar.gz.sha256
+	@sha512sum apache-annotator-$(ANNOTATOR_VERSION).tar.gz \
+	  > apache-annotator-$(ANNOTATOR_VERSION).tar.gz.sha512
 	@echo "Done: apache-annotator-$(ANNOTATOR_VERSION).tar.gz"