Put back the full hash and -dirty in Verson.ml
This commit is contained in:
parent
ee8ff6ce41
commit
9b1cdab3d2
2
dune
2
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))
|
||||
|
Loading…
Reference in New Issue
Block a user