modified git-version-gen to omit the v of version
This commit is contained in:
parent
e6482bd510
commit
72d1cc7dba
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
GIT_VERSION=$(git --no-pager describe --tags --dirty |sed 's/\([^-]*-g\)/r\1/;s/-/./g')
|
GIT_VERSION=$(git --no-pager describe --tags --dirty |sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g')
|
||||||
echo -ne ${GIT_VERSION}
|
echo -ne ${GIT_VERSION}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue