NuGet pushing

This commit is contained in:
cra0zy 2018-01-16 23:05:06 +01:00
parent 1fd95018d9
commit 1a1c8d4185
3 changed files with 11 additions and 2 deletions

View File

@ -12,7 +12,7 @@ deploy:
file_glob: true
file: BuildOutput/NugetPackages/*
provider: script
script: nuget push -Verbosity detailed -Source https://www.nuget.org/api/v2/package BuildOutput/NugetPackages/*.nupkg $NUGETAPIKEY
script: chmod +x pushnuget.sh && ./pushnuget.sh
on:
branch: master
repo: GtkSharp/GtkSharp

View File

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

9
pushnuget.sh Executable file
View File

@ -0,0 +1,9 @@
#!/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
done