1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2025-05-14 15:52:55 +00:00

modified git-version-gen to omit the v of version

This commit is contained in:
Dominic Radermacher 2018-11-25 16:08:11 +01:00
parent e6482bd510
commit 72d1cc7dba

View File

@ -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}