Update .gitlab-ci.yml

This commit is contained in:
J. Fronny 2020-06-18 18:15:20 +00:00
parent d7fdd3a711
commit 87b4f3fd08
1 changed files with 7 additions and 6 deletions

View File

@ -44,22 +44,23 @@ uptool:
$suffix = "$tmp1.$tmp2" $suffix = "$tmp1.$tmp2"
cd Misc cd Misc
dotnet pack --version-suffix "$suffix" -c Release -o . dotnet pack --version-suffix "$suffix" -c Release -o .
dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k $K8S_SECRET_NUGET -Source https://api.nuget.org/v3/index.json dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k $K8S_SECRET_NUGET -s https://api.nuget.org/v3/index.json
cd ..\W32 cd ..\W32
dotnet pack --version-suffix "$suffix" -c Release -o . dotnet pack --version-suffix "$suffix" -c Release -o .
dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k $K8S_SECRET_NUGET -Source https://api.nuget.org/v3/index.json dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k $K8S_SECRET_NUGET -s https://api.nuget.org/v3/index.json
cd ..\Commandline cd ..\Commandline
dotnet pack --version-suffix "$suffix" -c Release -o . dotnet pack --version-suffix "$suffix" -c Release -o .
dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k $K8S_SECRET_NUGET -Source https://api.nuget.org/v3/index.json dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k $K8S_SECRET_NUGET -s https://api.nuget.org/v3/index.json
cd .. cd ..
mkdir nugets mkdir nugets
cp $(Get-Item $(Resolve-Path Misc\*.nupkg).Path).Name nugets #cp $(Get-Item $(Resolve-Path Misc\*.nupkg).Path).Name nugets
cp $(Get-Item $(Resolve-Path W32\*.nupkg).Path).Name nugets #cp $(Get-Item $(Resolve-Path W32\*.nupkg).Path).Name nugets
cp $(Get-Item $(Resolve-Path Commandline\*.nupkg).Path).Name nugets #cp $(Get-Item $(Resolve-Path Commandline\*.nupkg).Path).Name nugets
artifacts: artifacts:
paths: paths:
- package.zip - package.zip
- app.xml - app.xml
- nugets - nugets
- .
only: only:
- master - master