From: Mike Marchetti Date: Thu, 2 Nov 2017 16:08:12 +0000 (-0400) Subject: update newtags to clone X-Git-Tag: v3.0.2~18 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fdevops.git;a=commitdiff_plain;h=840971c1408896781740c888495f23d733f716fb update newtags to clone Signed-off-by: Mike Marchetti --- diff --git a/tools/newtag.sh b/tools/newtag.sh index f700ce90..2f114feb 100755 --- a/tools/newtag.sh +++ b/tools/newtag.sh @@ -1,9 +1,10 @@ #!/bin/bash -if [ $# -ne 2 ]; then - echo "Usage $0 " +if [ $# -ne 3 ]; then + echo "Usage $0 " exit 1 fi +USER=$3 TAG="$2" tag_header="OSM Release THREE:" tag_message="$tag_header version $TAG" @@ -27,7 +28,7 @@ for i in $list; do echo echo $i if [ ! -d $i ]; then - git clone https://osm.etsi.org/gerrit/osm/$i + git clone ssh://$USER@osm.etsi.org:29418/osm/$i fi git -C $i checkout master git -C $i pull --rebase