diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-11 16:05:47 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-14 17:55:08 +1100 |
commit | b3f32871c1d329ccbd14f58d6069a22248e30dfe (patch) | |
tree | c3e52912e53aa0ccc3b13ad88dc37b50b362992d /script | |
parent | b2e126cddc8a9f95426fa802b6d66c88629721b3 (diff) | |
download | samba-b3f32871c1d329ccbd14f58d6069a22248e30dfe.tar.gz samba-b3f32871c1d329ccbd14f58d6069a22248e30dfe.tar.xz samba-b3f32871c1d329ccbd14f58d6069a22248e30dfe.zip |
script: sign library releases with Samba Library Distribution Key
Diffstat (limited to 'script')
-rwxr-xr-x | script/librelease.sh | 4 |
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 |