Skip to content
Snippets Groups Projects
Commit 840971c1 authored by Mike Marchetti's avatar Mike Marchetti
Browse files

update newtags to clone


Signed-off-by: default avatarMike Marchetti <mmarchetti@sandvine.com>
parent 49461294
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [ $# -ne 2 ]; then
echo "Usage $0 <repo> <tag>"
if [ $# -ne 3 ]; then
echo "Usage $0 <repo> <tag> <user>"
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment