Skip to content

Commit

Permalink
script/librelease: use a GPG_KEYID variable to hold the signing key
Browse files Browse the repository at this point in the history
metze
  • Loading branch information
metze-samba committed Apr 22, 2011
1 parent b48e223 commit 40792f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/librelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# make a release of a Samba library

GPG_USER='Samba Library Distribution Key <[email protected]>'
GPG_KEYID='13084025'

if [ ! -d ".git" ]; then
echo "Run this script from the top-level directory in the"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 40792f8

Please sign in to comment.