Commit 16ac8edd authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Torture windows version generation to produce x.x.x style version number for CI

parent b37f2258
Pipeline #807 passed with stages
in 12 minutes and 54 seconds
......@@ -355,7 +355,8 @@ print(':'.join(OrderedDict((dir.rstrip('/'), 1) for dir in sys.argv[1].split(':'
/Fe"$(native "$stage/version.exe")" \
"$(native "$top/version.c")"
# Boost's VERSION_MACRO emits (e.g.) "1_55"
"$stage/version.exe" | tr '_' '.' > "$stage/version.txt"
localver=`$stage/version.exe | tr '_' '.' | tr -d '\15\32'`
echo "${localver}.0" > "$stage/version.txt"
rm "$stage"/version.{obj,exe}
;;
......
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