Commit f6344a93 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

release: checkout if tag exists

parent a3f209e1
......@@ -13,6 +13,8 @@ rm -vf *.tar* /tmp/*.tar*
if $(grep -q "v$TAG" <<< $(git tag))
then
echo -e "\n!!! Ce tag existe !!!\n"
git checkout "v$TAG"
git submodule update --init
else
git tag -s "v$TAG" -m "Release v$TAG"
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment