X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tools%2Fnewtag.sh;h=124c261078be3ed1dbbe33548759817a1fd133ee;hb=bdc3128ebdf5eca7aa8df63031319413594f0ac4;hp=66a72ff04ada0f5dcc7e16bf12f711ccfbfe9daf;hpb=d8a2a69dbf9c0a593989abe2e5d72342dc405df3;p=osm%2Fdevops.git diff --git a/tools/newtag.sh b/tools/newtag.sh index 66a72ff0..124c2610 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" @@ -26,7 +27,7 @@ fi for i in $list; do 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