From 33d176364eccf0484608edd578b73656012f7a90 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Tue, 11 Aug 2020 09:47:20 +0200 Subject: [PATCH] Correct filename of Windows exe installer and zip archive Fixes https://gitlab.com/graphviz/graphviz/-/issues/1792 --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e97d999c..721a6e3f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -128,7 +128,7 @@ portable-source: # for the .exe to exit, instead continuing to the next command (which # will then fail because the install hasn't finished) ./graphviz-install.exe /S /D=$env:graphviz_install_dir | Out-Null; - mv graphviz-install.exe graphviz-install-$GV_VERSION-$API.exe; + mv graphviz-install.exe graphviz-install-$Env:GV_VERSION-$API.exe; $env:Path += ";" + $env:graphviz_install_dir + "\bin" dot -c; cd ..; @@ -153,7 +153,7 @@ portable-source: if($env:build_system -eq "cmake") { mv "build\*.exe" $DIR; } else { - Compress-Archive -Path "$env:configuration\*" -DestinationPath "$DIR\graphviz-$GV_VERSION-$API.zip"; + Compress-Archive -Path "$env:configuration\*" -DestinationPath "$DIR\graphviz-$Env:GV_VERSION-$API.zip"; } artifacts: when: on_success -- 2.40.0