From 625be76fb99ef37fff56398d6e4a7dbadc26cf92 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 13 Mar 2014 19:24:15 +0100 Subject: [PATCH] Makefile: add sign action --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index d794374..f30d339 100644 --- a/Makefile +++ b/Makefile @@ -45,3 +45,7 @@ install: ${PROG} release: VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \ git archive --prefix=cwm-$$VERSION/ -o cwm-$$VERSION.tar.gz HEAD + +sign: + VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \ + gpg --armor --detach-sign cwm-$$VERSION.tar.gz