From: Magnus Jacobsson Date: Thu, 7 Oct 2021 18:19:02 +0000 (+0200) Subject: CI: avoid BOM in GRAPHVIZ_VERSION file in windows build jobs X-Git-Tag: 2.49.2~18^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fdb682bc68cead13d3e4c20df6116af8c62514b;p=graphviz CI: avoid BOM in GRAPHVIZ_VERSION file in windows build jobs Towards https://gitlab.com/graphviz/graphviz/-/issues/2133. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 10971ea46..43424f742 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -152,7 +152,8 @@ portable-source: - echo "$CI_JOB_NAME-warnings $warnings_count" > metrics.txt - rm $logfile - cat metrics.txt - - python gen_version.py > GRAPHVIZ_VERSION + # avoid BOM in GRAPHVIZ_VERSION file + - python gen_version.py | Out-File GRAPHVIZ_VERSION -Encoding ascii - python gen_version.py --collection > COLLECTION # Package - $Env:GV_VERSION=$( cat GRAPHVIZ_VERSION )