diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-10-07 15:00:30 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-10-07 15:00:30 +0200 |
commit | bcd676be133e360c012b1279c1fcef9c7ede1ccf (patch) | |
tree | 21ccbc2a1b091c1f6b3011f90da86c53bbd5506b | |
parent | 0c0090c41ebe22e780dc42c16b3034d56ec52a65 (diff) |
build: Create GPG signatures as part of release target
Create detached ASCII format GPG signatures for the to be released
tarballs.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | Cmds | 4 | ||||
-rw-r--r-- | Misc | 7 |
2 files changed, 10 insertions, 1 deletions
@@ -42,3 +42,7 @@ GIT_REM = git ls-files -o | xargs rm -rf GIT_PEOPLE = git log --no-merges $(shell git tag | tail -n2 | head -n1)..HEAD | grep Author: | cut -d: -f2 | \ cut -d\< -f1 | sort | uniq -c | sort -nr GIT_VERSION = git describe --always + +# GPG related +GPG_SIGN = gpg -a --output ../netsniff-ng-$(VERSION_SHORT).tar.$(1).sign --detach-sig \ + ../netsniff-ng-$(VERSION_SHORT).tar.$(1) @@ -34,7 +34,12 @@ announcement: $(Q)echo -e "\nGit changelog since last release:\n" >> .MAIL_MSG $(GIT_LOG) >> .MAIL_MSG -release: tag announcement tarball +sign: + $(call GPG_SIGN,gz) + $(call GPG_SIGN,bz2) + $(call GPG_SIGN,xz) + +release: tag announcement tarball sign $(Q)echo "Released $(bold)$(VERSION_SHORT)$(normal)" FIND_SOURCE_FILES = ( git ls-files '*.[hcS]' 2>/dev/null || \ |