mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-12-18 05:45:21 +01:00
modified git-version-gen to omit the v of version
This commit is contained in:
parent
e6482bd510
commit
72d1cc7dba
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue