summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-11 16:05:47 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-14 17:55:08 +1100
commitb3f32871c1d329ccbd14f58d6069a22248e30dfe (patch)
treec3e52912e53aa0ccc3b13ad88dc37b50b362992d /script
parentb2e126cddc8a9f95426fa802b6d66c88629721b3 (diff)
downloadsamba-b3f32871c1d329ccbd14f58d6069a22248e30dfe.tar.gz
samba-b3f32871c1d329ccbd14f58d6069a22248e30dfe.tar.bz2
samba-b3f32871c1d329ccbd14f58d6069a22248e30dfe.zip
script: sign library releases with Samba Library Distribution Key
Diffstat (limited to 'script')
-rwxr-xr-xscript/librelease.sh4
1 files changed, 3 insertions, 1 deletions
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 <samba-bugs@samba.org>'
+
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