diff options
-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 || \ |