diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-09 13:51:08 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-09 15:19:07 +0200 |
commit | 46eacae8b516c0a2b9c372af0baadc436f64d957 (patch) | |
tree | 8c462b928537b766807e78ad8a00472b093a5599 /script | |
parent | 857ad72cac5291ff860b49f0b4a77b7f0ebb32be (diff) | |
download | samba-46eacae8b516c0a2b9c372af0baadc436f64d957.tar.gz |
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-x | script/librelease.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/script/librelease.sh b/script/librelease.sh index 61252363614..089b371b7d0 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 } |