update step SDK

This commit is contained in:
Samuele Locatelli
2021-09-28 08:02:02 +02:00
parent d74d7ad4ef
commit d7437c9702
+23 -2
View File
@@ -83,7 +83,7 @@ variables:
.sendSDK: &sendSDK
- |
Remove-Item *.nupkg
echo "C:\Tools\nuget.exe pack MapoSDK\MapoSDK.csproj -properties Configuration=$env:APP_CONF -Version $env:NEW_REL""
echo "C:\Tools\nuget.exe pack MapoSDK\MapoSDK.csproj -properties Configuration=$env:APP_CONF -Version $env:NEW_REL"
C:\Tools\nuget.exe pack MapoSDK\MapoSDK.csproj -properties Configuration=$env:APP_CONF -Version $env:NEW_REL"
echo "Start upload with nuget push"
echo "C:\Tools\nuget.exe setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source https://nexus.steamware.net/repository/nuget-hosted"
@@ -126,7 +126,16 @@ SDK:
- *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'
- *sendSDK
- |
Remove-Item *.nupkg
echo "& $env:NUGET_PATH pack MapoSDK\MapoSDK.csproj -properties Configuration=$env:APP_CONF -Version $env:NEW_REL"
& "$env:NUGET_PATH pack MapoSDK\MapoSDK.csproj -properties Configuration=$env:APP_CONF -Version $env:NEW_REL"
echo "Start upload with nuget push"
echo "& $env:NUGET_PATH setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source https://nexus.steamware.net/repository/nuget-hosted"
& $env:NUGET_PATH setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source https://nexus.steamware.net/repository/nuget-hosted
echo "& $env:NUGET_PATH push MapoSDK.$env:NEW_REL.nupkg -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
ADM:build:
stage: build
@@ -134,6 +143,8 @@ ADM:build:
CURR_PRJ: "MP-ADM"
tags:
- win
rules:
- if: '$CI_COMMIT_BRANCH != "SDK"'
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet'
@@ -147,6 +158,8 @@ IO:build:
CURR_PRJ: "MP-IO"
tags:
- win
rules:
- if: '$CI_COMMIT_BRANCH != "SDK"'
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet'
@@ -161,6 +174,8 @@ SITE:build:
CURR_PRJ: "MP-SITE"
tags:
- win
rules:
- if: '$CI_COMMIT_BRANCH != "SDK"'
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet'
@@ -174,6 +189,8 @@ MON:build:
CURR_PRJ: "MP-MON"
tags:
- win
rules:
- if: '$CI_COMMIT_BRANCH != "SDK"'
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet'
@@ -187,6 +204,8 @@ TAB:build:
CURR_PRJ: "MP-TAB"
tags:
- win
rules:
- if: '$CI_COMMIT_BRANCH != "SDK"'
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet'
@@ -200,6 +219,8 @@ MAG:build:
CURR_PRJ: "MP-MAG"
tags:
- win
rules:
- if: '$CI_COMMIT_BRANCH != "SDK"'
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet'