build: Simple signature check for dist and release.
* build-aux/GNUmakefile.in (check-signature): New target. (dist, release): Depend on it.
This commit is contained in:
parent
8f36311d1f
commit
f71e333d61
|
@ -282,7 +282,10 @@ GIT_LS_FILES:=find
|
||||||
MTIME:=0
|
MTIME:=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dist: $(TARBALL)
|
check-signature:
|
||||||
|
git show HEAD --show-signature |grep 'gpg: Good signature'
|
||||||
|
|
||||||
|
dist: check-signature $(TARBALL)
|
||||||
|
|
||||||
sign-dist: $(TARBALL)
|
sign-dist: $(TARBALL)
|
||||||
gpg -a --output $(TARBALL).sig --detach-sig $(TARBALL)
|
gpg -a --output $(TARBALL).sig --detach-sig $(TARBALL)
|
||||||
|
@ -358,7 +361,7 @@ tag:
|
||||||
guix-build:
|
guix-build:
|
||||||
./pre-inst-env $(GUIX) build mes@$(VERSION) --with-source=$(TARBALL)
|
./pre-inst-env $(GUIX) build mes@$(VERSION) --with-source=$(TARBALL)
|
||||||
|
|
||||||
release: update-hash
|
release: check-signature update-hash
|
||||||
git commit -m 'guix: mes: Update to $(VERSION).' \
|
git commit -m 'guix: mes: Update to $(VERSION).' \
|
||||||
-m '* guix/git/mes.scm (mes)[source]: Update to $(VERSION).' \
|
-m '* guix/git/mes.scm (mes)[source]: Update to $(VERSION).' \
|
||||||
guix/git/mes.scm
|
guix/git/mes.scm
|
||||||
|
|
Loading…
Reference in a new issue