Put back the full hash and -dirty in Verson.ml

This commit is contained in:
Your Name 2019-03-05 15:00:34 +01:00
parent ee8ff6ce41
commit 9b1cdab3d2

2
dune
View File

@ -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))