We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbf9c54 commit f797549Copy full SHA for f797549
Makefile
@@ -1,7 +1,7 @@
1
# Origin: https://github.com/innogames/graphite-ch-optimizer/blob/master/Makefile
2
# MIT License
3
NAME = clickhouse-backup
4
-VERSION = $(shell git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/c\1/;s/-/./g')
+VERSION = $(shell git describe --always --tags --abbrev=0 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/c\1/;s/-/./g')
5
GIT_COMMIT = $(shell git rev-parse HEAD)
6
DATE = $(shell date +%F)
7
VENDOR = "Alexander Akulov <alexakulov86@gmail.com>"
0 commit comments