refresh gitla yaml x testing

This commit is contained in:
Samuele Locatelli
2021-09-29 17:44:08 +02:00
parent 2f61321131
commit 9bc16ed95f
2 changed files with 4 additions and 4 deletions
+4 -4
View File
@@ -24,7 +24,7 @@ variables:
# helper x fix version number
.version-fix: &version-fix
- |
$env:NEW_REL = $env:VERS_MAIN+"."+(get-date format yyMM)+"."+$CI_PIPELINE_IID
$env:NEW_REL = $env:VERS_MAIN+"."+(get-date format yyMM)+"."+(get-date format ddHH)
$contenuto = Get-Content -path 'VersGen\VersGen.cs' -Raw
$newContenuto = $contenuto -replace '0.0.0.0', $env:NEW_REL
$newContenuto | Set-Content -Path 'VersGen\VersGen.cs'
@@ -119,9 +119,9 @@ IOB-NEXT:build:
before_script:
- *nuget-fix
- echo "Chiamata comando nuget-restore"
- echo "'& "$env:NUGET_PATH" restore "$env:APP_NAME.sln"-verbosity quiet'"
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln"'
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln"-verbosity quiet'
- echo "'& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'"
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln"'
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /verbosity:minimal /m'
Binary file not shown.