Skip to content

Commit

Permalink
script: sign library releases with Samba Library Distribution Key
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Tridgell committed Feb 14, 2011
1 parent b2e126c commit b3f3287
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/librelease.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
# make a release of a Samba library

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

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

0 comments on commit b3f3287

Please sign in to comment.