From 1fdb682bc68cead13d3e4c20df6116af8c62514b Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Thu, 7 Oct 2021 20:19:02 +0200 Subject: [PATCH] CI: avoid BOM in GRAPHVIZ_VERSION file in windows build jobs Towards https://gitlab.com/graphviz/graphviz/-/issues/2133. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) -- 2.40.0