From 40ae5931445e4468980529d3f102ce3cf3057f6a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 21 Oct 2024 15:17:24 +0200 Subject: [PATCH] Fix yaml --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65b9cfc6..f31843c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,7 +49,7 @@ variables: echo "esecuzione FIX appsettings.json" $srcFile="appsettings.Production-install.json" $dstFile="appsettings.Production.json" - if ($env:DEST != 'install') { + if (($env:DEST -ne 'install')) { $srcFile="appsettings.Production-office.json" } Copy-Item -Path $srcFile -Destination $dstFile @@ -91,6 +91,7 @@ variables: } mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:APP_NAME\Resources\manifest.xml" https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/manifest.xml mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:APP_NAME\Resources\ChangeLog.html" https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/ChangeLog.html + # helper x fix version number .version-fix: &version-fix - |