Aggiunto step x vers main/release

This commit is contained in:
Samuele Locatelli
2025-08-08 09:53:08 +02:00
parent 3779aa5094
commit f60cc4573d
+23 -25
View File
@@ -252,9 +252,9 @@ WebWindowConfigurator:SDK:deploy:
# - *nexusUpload
# # --------------------------------
# # RELEASE (tags only + sdk)
# # --------------------------------
# --------------------------------
# RELEASE (tags only + sdk)
# --------------------------------
# Test.UI:release:
# stage: release
# tags:
@@ -276,25 +276,23 @@ WebWindowConfigurator:SDK:deploy:
# - dotnet build $env:APP_NAME/$env:APP_NAME.csproj
# - dotnet publish -c Release -o ./publish $env:APP_NAME/$env:APP_NAME.csproj -p:verbosity=quiet
# Test.UI:SDK:release:
# stage: release
# tags:
# - win
# variables:
# APP_NAME: MP.AppAuth
# SOL_NAME: Test.UI
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# - *version-fix
# - *nuspec-fix
# rules:
# - if: $CI_COMMIT_BRANCH == 'main'
# needs: ["Test.UI:build"]
# script:
# - dotnet build $env:APP_NAME/$env:APP_NAME.csproj -c Release
# - '& Remove-Item *.nupkg'
# - '& $env:NUGET_PATH pack "EgwProxy.MP.Core.Release.nuspec"'
# - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
# - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
WebWindowConfigurator:SDK:release:
stage: release
tags:
- win
variables:
APP_NAME: WebWindowConfigurator
SOL_NAME: Test.UI
NU_TYPE: Release
before_script:
- *nuget-fix
- dotnet restore "$env:SOL_NAME.sln"
rules:
- if: $CI_COMMIT_BRANCH == 'main'
needs: ["Test.UI:build"]
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- *nuspec-fix
- dotnet pack -p:Configuration=Debug -p:verbosity=quiet -p:PackageID=Egw.Lux.$env:APP_NAME --output $env:APP_NAME/bin/ $env:APP_NAME/$env:APP_NAME.csproj
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
- '& "$env:NUGET_PATH" push $env:APP_NAME/bin/Egw.Lux.$env:APP_NAME.$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'