Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier Stasse
Gepetto Utils
Commits
f6344a93
Commit
f6344a93
authored
Mar 23, 2018
by
Guilhem Saurel
Browse files
release: checkout if tag exists
parent
a3f209e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/release.sh
View file @
f6344a93
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment