Use cake nuget.exe for pushing

This commit is contained in:
cra0zy 2018-01-18 20:52:19 +01:00
parent 32c4865611
commit 6b2b716131
2 changed files with 2 additions and 4 deletions

View file

@ -6,7 +6,7 @@
// VARS
Settings.Cake = Context;
Settings.Version = "3.22.24.25";
Settings.Version = "3.22.24.24";
Settings.BuildTarget = Argument("BuildTarget", "Default");
Settings.Assembly = Argument("Assembly", "");

View file

@ -1,9 +1,7 @@
#!/bin/bash
sudo nuget update -self
for f in BuildOutput/NugetPackages/*.nupkg
do
echo "Processing $f..."
nuget push -Verbosity detailed -Source https://www.nuget.org/api/v2/package "$f" $NUGETAPIKEY
mono tools/nuget.exe push -Verbosity detailed -Source https://www.nuget.org/api/v2/package "$f" $NUGETAPIKEY
done