Commit a0dc3b0c authored by erwan's avatar erwan
Browse files

build: fix the version.ml generated via opam

parent 129ce3c1
Pipeline #75712 passed with stages
in 5 minutes and 31 seconds
......@@ -3,6 +3,6 @@
set -e
SHA=$(git log -1 --pretty=format:"%h" || echo "opam")
VERSION=$(git describe --tags || basename `pwd` | cut -d '.' -f2-4)
VERSION=$(git describe --tags || ls ../../../../ | grep lutin | cut -d '.' -f2-4)
echo "let str=\"${VERSION}\"" > version.ml
echo "let sha=\"${SHA}\"" >> version.ml
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment