Pubblicazioni anche su develop di versione unstable

This commit is contained in:
Samuele Locatelli
2022-04-26 15:43:43 +02:00
parent 604f2e9262
commit be6ccc9ed2
+23 -4
View File
@@ -127,7 +127,7 @@ stages:
- installer
SDK:
SDK-stable:
stage: sdk
tags:
- win
@@ -143,11 +143,30 @@ SDK:
script:
- '& "$env:MSBUILD_PATH" MapoSDK/MapoSDK.csproj -target:Build /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath=bin/Release /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack MapoSDK\MapoSDK.csproj -properties Configuration=$env:APP_CONF -Version $env:NEW_REL'
- '& $env:NUGET_PATH pack MapoSDK.Release.nuspec'
- '& $env:NUGET_PATH setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source https://nexus.steamware.net/repository/nuget-hosted'
- '& $env:NUGET_PATH push MapoSDK.$env:NEW_REL.nupkg -Source https://nexus.steamware.net/repository/nuget-hosted'
# - *sendSDK
SDK-unstable:
stage: sdk
tags:
- win
rules:
- if: '$CI_COMMIT_BRANCH == "develop"'
variables:
APP_NAME: MP-ADM
NEXUS_PATH: MP-ADM
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet'
- *version-fix
script:
- '& "$env:MSBUILD_PATH" MapoSDK/MapoSDK.csproj -target:Build /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath=bin/Release /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack MapoSDK.Debug.nuspec'
- '& $env:NUGET_PATH setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source https://nexus.steamware.net/repository/nuget-hosted'
- '& $env:NUGET_PATH push MapoSDK.$env:NEW_REL.nupkg -Source https://nexus.steamware.net/repository/nuget-hosted'
ADM:build:
stage: build
variables: