diff options
author | Jose Lombera <jose@lombera.dev> | 2022-07-14 16:45:19 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-07-17 18:38:40 +0200 |
commit | f5e886406bd6ac54695947891156e37dae314a37 (patch) | |
tree | 731c77fa2b6dad0c0fc5967d172a2535429081cd | |
parent | 04097e874388bf30e808a9a9993230c668a36ec4 (diff) | |
download | aerc-f5e886406bd6ac54695947891156e37dae314a37.zip |
mk: compute version deterministically
Ensure abbreviated commit id of fixed length in computed version
regardless of user's configuration. Choose length 12 as safe value.
Link: https://github.com/git/git/commit/dce96489162b
Signed-off-by: Jose Lombera <jose@lombera.dev>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ .SUFFIXES: .SUFFIXES: .1 .5 .7 .1.scd .5.scd .7.scd -VERSION!=git describe --long --tags --dirty 2>/dev/null || echo 0.11.0 +VERSION!=git describe --long --abbrev=12 --tags --dirty 2>/dev/null || echo 0.11.0 VPATH=doc PREFIX?=/usr/local BINDIR?=$(PREFIX)/bin |