summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2012-10-02 10:29:16 +0200
committerStefan Metzmacher <metze@samba.org>2012-10-02 14:28:10 +0200
commitdce8a8e284e544999d85aa7df3ef97c3701742b4 (patch)
treecaa5f1ef066b3c83725f124ce5305140a4f6da28
parentf4b9007faf901db6f703b5109df055081949c3f1 (diff)
downloadsamba-dce8a8e284e544999d85aa7df3ef97c3701742b4.tar.gz
samba-dce8a8e284e544999d85aa7df3ef97c3701742b4.tar.bz2
samba-dce8a8e284e544999d85aa7df3ef97c3701742b4.zip
librelease.sh: Move the GPG data to the library section.
Don't use the Library key for the samba releases. Karolin Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 7eb1f6ff178cb04a04dcaee88f15be850d239430) Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Oct 2 14:28:10 CEST 2012 on sn-devel-104
-rwxr-xr-xscript/librelease.sh34
1 files changed, 24 insertions, 10 deletions
diff --git a/script/librelease.sh b/script/librelease.sh
index ac82762d30..5119ca4aca 100755
--- a/script/librelease.sh
+++ b/script/librelease.sh
@@ -1,14 +1,6 @@
#!/bin/bash
# make a release of a Samba library
-[ -z "$GPG_USER" ] && {
- GPG_USER='Samba Library Distribution Key <samba-bugs@samba.org>'
-}
-
-[ -z "$GPG_KEYID" ] && {
- GPG_KEYID='13084025'
-}
-
if [ ! -d ".git" ]; then
echo "Run this script from the top-level directory in the"
echo "repository"
@@ -67,6 +59,11 @@ release_lib() {
exit 1
}
+ [ -z "$ftpdir" ] && {
+ popd
+ return 0
+ }
+
echo "Push git tag $tagname"
git push ssh://git.samba.org/data/git/samba.git refs/tags/$tagname:refs/tags/$tagname || {
exit 1
@@ -84,10 +81,27 @@ release_lib() {
for lib in $*; do
case $lib in
talloc | tdb | tevent | ldb)
+ [ -z "$GPG_USER" ] && {
+ GPG_USER='Samba Library Distribution Key <samba-bugs@samba.org>'
+ }
+
+ [ -z "$GPG_KEYID" ] && {
+ GPG_KEYID='13084025'
+ }
+
release_lib $lib "lib/$lib" $lib
;;
- samba4)
- release_lib $lib "." "samba/$lib"
+ samba)
+ [ -z "$GPG_USER" ] && {
+ GPG_USER='6568B7EA'
+ }
+
+ [ -z "$GPG_KEYID" ] && {
+ GPG_KEYID='6568B7EA'
+ }
+
+ # for now we don't upload
+ release_lib $lib "." ""
;;
*)
echo "Unknown library $lib"