From: Andrew Tridgell Date: Fri, 11 Feb 2011 05:05:47 +0000 (+1100) Subject: script: sign library releases with Samba Library Distribution Key X-Git-Tag: tevent-0.9.11~688 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3f32871c1d329ccbd14f58d6069a22248e30dfe;p=thirdparty%2Fsamba.git script: sign library releases with Samba Library Distribution Key --- diff --git a/script/librelease.sh b/script/librelease.sh index 1c75bf1c145..b2bc9e712a1 100755 --- a/script/librelease.sh +++ b/script/librelease.sh @@ -1,6 +1,8 @@ #!/bin/bash # make a release of a Samba library +GPG_USER='Samba Library Distribution Key ' + if [ ! -d ".git" ]; then echo "Run this script from the top-level directory in the" echo "repository" @@ -41,7 +43,7 @@ release_lib() { echo "signing" rm -f "$tarname.asc" - gpg --detach-sign --armor $tarname || exit 1 + gpg -u "$GPG_USER" --detach-sign --armor $tarname || exit 1 [ -f "$tarname.asc" ] || { echo "Failed to create signature $tarname.asc" exit 1