From b3f32871c1d329ccbd14f58d6069a22248e30dfe Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Feb 2011 16:05:47 +1100 Subject: script: sign library releases with Samba Library Distribution Key --- script/librelease.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'script') diff --git a/script/librelease.sh b/script/librelease.sh index 1c75bf1c14..b2bc9e712a 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 -- cgit