mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-05-13 23:32:59 +00:00
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
|
||||
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}
|
||||
|
Loading…
Reference in New Issue
Block a user