summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2012-10-02 10:29:16 +0200
committerKarolin Seeger <kseeger@samba.org>2012-10-02 11:39:39 +0200
commit7eb1f6ff178cb04a04dcaee88f15be850d239430 (patch)
treed3893df38ce294e799a4db5647bb9aeac909952b
parent85289d89b9b607c6c661cd49803a94b6c60918ed (diff)
downloadsamba-7eb1f6ff178cb04a04dcaee88f15be850d239430.tar.gz
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>
-rwxr-xr-xscript/librelease.sh34
1 files changed, 24 insertions, 10 deletions
diff --git a/script/librelease.sh b/script/librelease.sh
index ac82762d307..5119ca4aca7 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"