Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ActEV
diva_evaluation_cli
Commits
1bc74564
Commit
1bc74564
authored
Jan 31, 2020
by
Baptiste CHOCOT
Browse files
Fix wrong way to compute new tag
parent
1c77ba5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
merge_dev_into_master.sh
View file @
1bc74564
...
...
@@ -16,8 +16,8 @@
###################################################################
tag
=
`
git describe
--tags
--abbrev
=
0
`
subversion
=
$((
`
echo
$tag
|
rev |
cut
-d
.
-f1
`
+
1
))
tag
=
`
echo
$tag
|
sed
"s/
.
\$
/
$subversion
/"
`
subversion
=
$((
`
echo
$tag
|
sed
"s/.*
\.
//"
`
+
1
))
tag
=
`
echo
$tag
|
sed
"s/
\.
[^.]*
$/
\.
$subversion
/"
`
date
=
`
date
+
"%m.%d.%y"
`
git pull origin master
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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