From 9b1cdab3d24dddfe6fbcb1125c37822eb6327ee2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 5 Mar 2019 15:00:34 +0100 Subject: [PATCH] Put back the full hash and -dirty in Verson.ml --- dune | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune b/dune index 823aaaaf5..38451967f 100644 --- a/dune +++ b/dune @@ -53,5 +53,5 @@ (rule (targets Version.ml) (deps Version.gitHEAD) - (action (run "sh" "-c" "printf 'let version = \"%s\"'\\\\n \"$(cat Version.gitHEAD)\" > Version.ml")) + (action (run "sh" "-c" "printf 'let version = \"%s\"'\\\\n \"$(git describe --always --dirty --abbrev=0)\" > Version.ml")) (mode promote-until-clean))