Update .gitlab-ci.yml file: fix variable explosion in pack/push stage
This commit is contained in:
+4
-4
@@ -137,9 +137,9 @@ SDK-stable:
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath=bin/Release /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack $env:APP_NAME.Release.nuspec'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
|
||||
- '& $env:NUGET_PATH setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source https://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& $env:NUGET_PATH push $env:APP_NAME.$env:NEW_REL.nupkg -Source https://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& $env:NUGET_PATH push "$env:APP_NAME.$env:NEW_REL.nupkg" -Source https://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
SDK-unstable:
|
||||
stage: sdk
|
||||
@@ -157,9 +157,9 @@ SDK-unstable:
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath=bin/Debug /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack $env:APP_NAME.Debug.nuspec'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
|
||||
- '& $env:NUGET_PATH setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source https://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& $env:NUGET_PATH push $env:APP_NAME.$env:NEW_DEB.nupkg -Source https://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& $env:NUGET_PATH push "$env:APP_NAME.$env:NEW_DEB.nupkg" -Source https://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
ADM:build:
|
||||
stage: build
|
||||
|
||||
Reference in New Issue
Block a user