Makefile: add sign action

This commit is contained in:
Christian Neukirchen 2014-03-13 19:24:15 +01:00
parent 2174a1960d
commit 625be76fb9

View File

@ -45,3 +45,7 @@ install: ${PROG}
release: release:
VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \ VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \
git archive --prefix=cwm-$$VERSION/ -o cwm-$$VERSION.tar.gz HEAD 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