summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-09 13:51:08 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-09 15:19:07 +0200
commit46eacae8b516c0a2b9c372af0baadc436f64d957 (patch)
tree8c462b928537b766807e78ad8a00472b093a5599 /script
parent857ad72cac5291ff860b49f0b4a77b7f0ebb32be (diff)
downloadsamba-46eacae8b516c0a2b9c372af0baadc436f64d957.tar.gz
samba-46eacae8b516c0a2b9c372af0baadc436f64d957.tar.bz2
samba-46eacae8b516c0a2b9c372af0baadc436f64d957.zip
script/librelease.sh: add git push for the release tag
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 15:19:07 CEST 2011 on sn-devel-104
Diffstat (limited to 'script')
-rwxr-xr-xscript/librelease.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/script/librelease.sh b/script/librelease.sh
index 6125236361..089b371b7d 100755
--- a/script/librelease.sh
+++ b/script/librelease.sh
@@ -61,7 +61,12 @@ release_lib() {
exit 1
}
- echo "Transferring"
+ echo "Push git tag $tagname"
+ git push ssh://git.samba.org/data/git/samba.git refs/tags/$tagname:refs/tags/$tagname || {
+ exit 1
+ }
+
+ echo "Transferring for FTP"
rsync -Pav $tarname.asc $tgzname master.samba.org:~ftp/pub/$lib/ || {
exit 1
}