git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e126c
)
script: sign library releases with Samba Library Distribution Key
author
Andrew Tridgell
<tridge@samba.org>
Fri, 11 Feb 2011 05:05:47 +0000
(16:05 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 14 Feb 2011 06:55:08 +0000
(17:55 +1100)
script/librelease.sh
patch
|
blob
|
history
diff --git
a/script/librelease.sh
b/script/librelease.sh
index 1c75bf1c145cdcb51a7ccbfcc1a59051c7b20253..b2bc9e712a17e9d8bd4f785d55ded853e66e8859 100755
(executable)
--- 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