1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2025-11-21 04:42:04 +00:00

added generated configure to .gitignore, VERSION string now is in my preferred format using helper script build-aux/git-version-gen

This commit is contained in:
Dominic Radermacher
2018-08-26 10:16:31 +02:00
parent d093ba96e7
commit 73026c7ed3
3 changed files with 5 additions and 1 deletions

3
build-aux/git-version-gen Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
GIT_VERSION=$(git --no-pager describe --tags --dirty |sed 's/\([^-]*-g\)/r\1/;s/-/./g')
echo -ne ${GIT_VERSION}