Merge branch 'SDK' into develop
This commit is contained in:
+17
-12
@@ -82,14 +82,11 @@ variables:
|
||||
# helper x send su NEXUS di pack SDK in formato nuget
|
||||
.sendSDK: &sendSDK
|
||||
- |
|
||||
Remove-Item *.nupkg
|
||||
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"
|
||||
C:\Tools\nuget.exe setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source https://nexus.steamware.net/repository/nuget-hosted
|
||||
echo "C:\Tools\nuget.exe push MapoSDK.$env:NEW_REL.nupkg -Source https://nexus.steamware.net/repository/nuget-hosted"
|
||||
C:\Tools\nuget.exe push MapoSDK.$env:NEW_REL.nupkg -Source https://nexus.steamware.net/repository/nuget-hosted
|
||||
'& "$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 -Description="Mapo SDK helper library" -Author=EgalWare -Version $env:NEW_REL'
|
||||
'& $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'
|
||||
|
||||
# helper x fix version number
|
||||
.version-fix: &version-fix
|
||||
@@ -113,9 +110,6 @@ SDK:
|
||||
tags:
|
||||
- win
|
||||
rules:
|
||||
# - if: '$CI_COMMIT_BRANCH == "master"'
|
||||
# when: manual
|
||||
# - if: '$CI_COMMIT_BRANCH == "develop"'
|
||||
- if: '$CI_COMMIT_BRANCH == "SDK"'
|
||||
variables:
|
||||
APP_NAME: MP-ADM
|
||||
@@ -125,7 +119,6 @@ SDK:
|
||||
- '& "$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'
|
||||
- *sendSDK
|
||||
|
||||
ADM:build:
|
||||
@@ -134,6 +127,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 +142,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 +158,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 +173,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 +188,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 +203,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'
|
||||
|
||||
Reference in New Issue
Block a user