mirror of
https://github.com/Yubico/yubikey-ksm.git
synced 2025-01-19 16:52:16 +01:00
Added manual entry of KEYID to make release.
This commit is contained in:
parent
ee5e7cbfa0
commit
41a904f65f
11
Makefile
11
Makefile
@ -75,8 +75,6 @@ symlink:
|
|||||||
# Maintainer rules.
|
# Maintainer rules.
|
||||||
|
|
||||||
PROJECT = $(PACKAGE)
|
PROJECT = $(PACKAGE)
|
||||||
USER = simon@yubico.com
|
|
||||||
KEYID = B9156397
|
|
||||||
|
|
||||||
$(PACKAGE)-$(VERSION).tgz: $(FILES) $(MANS)
|
$(PACKAGE)-$(VERSION).tgz: $(FILES) $(MANS)
|
||||||
mkdir $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION)/doc
|
mkdir $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION)/doc
|
||||||
@ -106,9 +104,16 @@ clean-man:
|
|||||||
rm -f *.1
|
rm -f *.1
|
||||||
|
|
||||||
release: dist
|
release: dist
|
||||||
|
@if test -z "$(KEYID)"; then \
|
||||||
|
echo "Try this instead:"; \
|
||||||
|
echo " make release KEYID=[PGPKEYID]"; \
|
||||||
|
echo "For example:"; \
|
||||||
|
echo " make release KEYID=2117364A"; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tgz
|
gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tgz
|
||||||
gpg --verify $(PACKAGE)-$(VERSION).tgz.sig
|
gpg --verify $(PACKAGE)-$(VERSION).tgz.sig
|
||||||
|
|
||||||
git tag -s -v $(PACKAGE)-$(VERSION)
|
git tag -sm "$(PACKAGE)-$(VERSION)" $(PACKAGE)-$(VERSION)
|
||||||
git push
|
git push
|
||||||
git push --tags
|
git push --tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user