Update da testare in prod x nuget stabile
This commit is contained in:
+23
-23
@@ -172,26 +172,26 @@ Egw.Window.Data:SDK:deploy:
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push $env:APP_NAME/bin/$env:APP_NAME.$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
# # --------------------------------
|
||||
# # RELEASE (main brach only)
|
||||
# # --------------------------------
|
||||
# Egw.Window.Data:SDK:SDK:release:
|
||||
# stage: release
|
||||
# tags:
|
||||
# - win
|
||||
# variables:
|
||||
# APP_NAME: Egw.Window.Data
|
||||
# SOL_NAME: Egw.Window
|
||||
# NU_TYPE: Release
|
||||
# before_script:
|
||||
# - *nuget-fix
|
||||
# - dotnet restore "$env:SOL_NAME.sln"
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_BRANCH == 'main'
|
||||
# needs: ["Egw.Window.Data:build"]
|
||||
# script:
|
||||
# - dotnet build $env:APP_NAME/$env:APP_NAME.csproj
|
||||
# - *nuspec-fix
|
||||
# - dotnet pack -p:Configuration=Debug -p:verbosity=quiet --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'
|
||||
# --------------------------------
|
||||
# RELEASE (main brach only)
|
||||
# --------------------------------
|
||||
Egw.Window.Data:SDK:SDK:release:
|
||||
stage: release
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
APP_NAME: Egw.Window.Data
|
||||
SOL_NAME: Egw.Window
|
||||
NU_TYPE: Release
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- dotnet restore "$env:SOL_NAME.sln"
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'main'
|
||||
needs: ["Egw.Window.Data:build"]
|
||||
script:
|
||||
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- *nuspec-fix
|
||||
- dotnet pack -p:Configuration=Debug -p:verbosity=quiet --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/$env:APP_NAME.$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
Reference in New Issue
Block a user