Commit 1bc74564 authored by Baptiste CHOCOT's avatar Baptiste CHOCOT
Browse files

Fix wrong way to compute new tag

parent 1c77ba5e
......@@ -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
......
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