aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-08-08 21:19:16 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-08-08 21:19:16 -0500
commit620fd9dc5666f11b322a7088a220f408636a77e3 (patch)
treebd7584ef1c96017cfef8eebb71f38bc7afb51cc6 /config.mk
parent662e06e68e9bc2c41c3cb90d36c4d9998ff1f958 (diff)
use `git describe` to generate version
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index ba24bb8..4638d5f 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
_VERSION = 0.3.1
-VERSION = `./generate-version.sh $(_VERSION)`
+VERSION = `git describe --long --tags --dirty 2>/dev/null || echo $(_VERSION)`
# paths
PREFIX = /usr/local