projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New tool to upgrade vnf,ns descriptors to R. THREE
[osm/devops.git]
/
tools
/
newtag.sh
diff --git
a/tools/newtag.sh
b/tools/newtag.sh
index
66a72ff
..
124c261
100755
(executable)
--- a/
tools/newtag.sh
+++ b/
tools/newtag.sh
@@
-1,9
+1,10
@@
#!/bin/bash
#!/bin/bash
-if [ $# -ne
2
]; then
- echo "Usage $0 <repo> <tag>"
+if [ $# -ne
3
]; then
+ echo "Usage $0 <repo> <tag>
<user>
"
exit 1
fi
exit 1
fi
+USER=$3
TAG="$2"
tag_header="OSM Release THREE:" tag_message="$tag_header version $TAG"
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
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
fi
git -C $i checkout master
git -C $i pull --rebase