Correzione x deploy debug/release (hope so)

This commit is contained in:
Samuele Locatelli
2024-04-10 11:39:35 +02:00
parent a12376add1
commit c36a548228
+24 -1
View File
@@ -137,6 +137,30 @@ Runner:build:
# - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
# #--------- Deploy --------- #
Runner:deploy-dev:
stage: deploy
tags:
- win
variables:
APP_NAME: Maat.Runner
SOL_NAME: Maat.Runner
INST_NAME: Maat.Installer
only:
- develop
needs: ["Runner:build"]
before_script:
- *nuget-fix
- dotnet restore $env:SOL_NAME.sln
- *version-fix
script:
# pubblicazione come singleApp
- dotnet publish -p:PublishProfile=SingleAppDebug.pubxml -p:RunCodeAnalysis=false -p:Configuration=Debug $env:APP_NAME/$env:APP_NAME.csproj
# creazione installer WIX
- dotnet build $env:INST_NAME/$env:INST_NAME.wixproj
#- *artifactZipper
- *hashBuild
- *nexusUpload
Runner:deploy:
stage: deploy
tags:
@@ -147,7 +171,6 @@ Runner:deploy:
INST_NAME: Maat.Installer
only:
- main
- develop
needs: ["Runner:build"]
before_script:
- *nuget-fix