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/03/05 03:00:29 UTC

[incubator-annotator] 01/02: Move checksums and signature to distsign 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 bd10de31b382fc03d43e3582b75cf68a243b8a70
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Wed Mar 4 18:50:39 2020 -0800

    Move checksums and signature to distsign target
---
 Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 470c31e..49afddd 100644
--- a/Makefile
+++ b/Makefile
@@ -76,11 +76,6 @@ dist:
         --output apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz \
         --prefix apache-annotator-$(annotator_vsn)-incubating/ \
         HEAD
-	@gpg -ab apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz
-	@sha256sum apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz \
-        > apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz.sha256
-	@sha512sum apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz \
-        > apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz.sha512
 	@echo "Done: apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz"
 
 .PHONY: distcheck
@@ -89,4 +84,12 @@ distcheck: dist
 	@tar xzf apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz
 	@make -C apache-annotator-$(annotator_vsn)-incubating check
 
+.PHONY: distsign
+distsign: dist
+	@gpg -ab apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz
+	@sha256sum apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz \
+        > apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz.sha256
+	@sha512sum apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz \
+        > apache-annotator-$(annotator_vsn)$(vsn_pre)-incubating.tar.gz.sha512
+
 endif