diff --git a/.travis.yml b/.travis.yml index 656e7f66f..8e9bb16ad 100755 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/build.cake b/build.cake index 758e03896..c6f2802cd 100755 --- a/build.cake +++ b/build.cake @@ -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", ""); diff --git a/pushnuget.sh b/pushnuget.sh new file mode 100755 index 000000000..bf3fe7328 --- /dev/null +++ b/pushnuget.sh @@ -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