script/librelease: use a GPG_KEYID variable to hold the signing key
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Apr 2011 08:08:52 +0000 (10:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 22 Apr 2011 08:54:20 +0000 (10:54 +0200)
metze

script/librelease.sh

index 666c39236790159437d3d6fe68c19a3708f9cd57..70048e9203301e262d77e4d7d019603ce5896674 100755 (executable)
@@ -2,6 +2,7 @@
 # make a release of a Samba library
 
 GPG_USER='Samba Library Distribution Key <samba-bugs@samba.org>'
+GPG_KEYID='13084025'
 
 if [ ! -d ".git" ]; then
        echo "Run this script from the top-level directory in the"
@@ -39,7 +40,7 @@ release_lib() {
 
     tagname=$(basename $tarname .tar | sed s/[\.]/-/g)
     echo "tagging as $tagname"
-    git tag -u 13084025 -s "$tagname" -m "$lib: tag release $tagname"
+    git tag -u $GPG_KEYID -s "$tagname" -m "$lib: tag release $tagname"
 
     echo "signing"
     rm -f "$tarname.asc"