Fix tag prefix (after copy/paste). v0.1
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 11 Sep 2014 03:44:08 +0300
changeset 50 0bda4161d1b9
parent 49 4b48e9e06000
child 51 c92358daee56
Fix tag prefix (after copy/paste).
Makefile
--- a/Makefile	Thu Sep 11 03:40:44 2014 +0300
+++ b/Makefile	Thu Sep 11 03:44:08 2014 +0300
@@ -48,7 +48,7 @@
 vtagdist=$$(hg log -r . --template '{latesttagdistance}'); \
 vatrelease=$$([ $$vtagdist -le 1 ] && echo yes || echo no); \
 vtag=$$(hg log -r . --template '{latesttag}'); \
-vmajor=$${vtag#t}; \
+vmajor=$${vtag#v}; \
 vmajor=$${vmajor%%.*}; \
 vminor=$${vtag#*.}; \
 vrev=$$(hg id -i); \