Fix step version-fix

This commit is contained in:
Samuele Locatelli
2022-04-11 18:26:41 +02:00
parent d539e69d2d
commit ee03463ff9
+3 -4
View File
@@ -26,7 +26,7 @@ variables:
.version-fix: &version-fix
- |
# Esecuzione fix numero versione x pack nuget
$fileName = ".\VersGen\VersGen.cs";
$fileName = ".INTERFACE\VersGen\VersGen.cs";
# calcolo nuova
$env:NEW_REL = $env:VERS_MAIN+"."+(get-date format yyMM)+"."+(get-date format dHH)
echo "New vers: $env:NEW_REL"
@@ -100,9 +100,8 @@ WebLCP:build:
APP_NAME: WebLCP
before_script:
- *nuget-fix
- '& echo "$env:NUGET_PATH" restore "INTERFACE\$env:SOL_NAME.sln" -Verbosity quiet'
- '& "$env:NUGET_PATH" restore "INTERFACE\$env:SOL_NAME.sln"'
# - '& "$env:NUGET_PATH" restore "INTERFACE\$env:SOL_NAME.sln" -Verbosity quiet'
# - '& echo "$env:NUGET_PATH" restore "INTERFACE\$env:SOL_NAME.sln" -Verbosity quiet'
- '& "$env:NUGET_PATH" restore "INTERFACE\$env:SOL_NAME.sln" -Verbosity quiet'
- *version-fix
script:
- '& "$env:MSBUILD_PATH" INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj -target:Build /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath=bin/ /verbosity:minimal /m'