Change default GPGKEY to 3892336E, which is soren.sandmann@gmail.com
authorSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 28 Jan 2013 01:08:06 +0000 (20:08 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 29 Jan 2013 20:24:22 +0000 (15:24 -0500)
The old one belongs to the email address sandmann@daimi.au.dk, which
doesn't work anyore.

Also use gpg to get the name and address for the "(Signed by ...)"
line since that works more reliably for me than using git.

Makefile.am

index 88ff897..5137c9e 100644 (file)
@@ -10,7 +10,7 @@ snapshot:
        test -d "$(srcdir)/.git" && distdir=$$distdir-`cd "$(srcdir)" && git rev-parse HEAD | cut -c 1-6`; \
        $(MAKE) $(AM_MAKEFLAGS) distdir="$$distdir" dist
 
-GPGKEY=6FF7C1A8
+GPGKEY=3892336E
 USERNAME=$$USER
 RELEASE_OR_SNAPSHOT = $$(if test "x$(PIXMAN_VERSION_MINOR)" = "x$$(echo "$(PIXMAN_VERSION_MINOR)/2*2" | bc)" ; then echo release; else echo snapshot; fi)
 RELEASE_CAIRO_HOST =   $(USERNAME)@cairographics.org
@@ -121,7 +121,7 @@ release-publish-message: $(HASHFILES) ensure-prev
        @echo ""
        @echo "GPG signature:"
        @echo " $(RELEASE_CAIRO_URL)/$(gpg_file)"
-       @echo " (signed by `git config --get user.name` <`git config --get user.email`>)"
+       @echo " (signed by`gpg --list-keys $(GPGKEY) | grep uid | cut -b4- | tr -s " "`)"
        @echo ""
        @echo "Git:"
        @echo " git://git.freedesktop.org/git/pixman"