]> granicus.if.org Git - graphviz/commitdiff
Correct filename of Windows exe installer and zip archive
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 11 Aug 2020 07:47:20 +0000 (09:47 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 11 Aug 2020 09:16:14 +0000 (11:16 +0200)
Fixes https://gitlab.com/graphviz/graphviz/-/issues/1792

.gitlab-ci.yml

index 8e97d999c0361e55625035f1a179897a77d00ee1..721a6e3f9ece58266f58456150305ff3df753bdc 100644 (file)
@@ -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