From bf92d4a652bd47803dd05e11bd2b3fb2eaa35b74 Mon Sep 17 00:00:00 2001 From: John Weber Date: Tue, 3 May 2016 09:33:44 -0700 Subject: [PATCH] Source is now a required parameter for pushing the NuGet package --- Gemfile.lock | 2 +- rakefile.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index dc9ec79..01947cd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,4 +27,4 @@ DEPENDENCIES semver2 BUNDLED WITH - 1.10.6 + 1.11.2 diff --git a/rakefile.rb b/rakefile.rb index 2460c5a..c3e070b 100644 --- a/rakefile.rb +++ b/rakefile.rb @@ -106,7 +106,7 @@ raise "No NuGet API key was defined" unless $nuget_api_key nuget_package = "build\\#{PROJECT_NAME}.#{ENV['NUGET_VERSION']}.nupkg" - sh "#{nuget_path} push #{nuget_package} #{$nuget_api_key} -NonInteractive" + sh "#{nuget_path} push #{nuget_package} #{$nuget_api_key} -NonInteractive -Source https://www.nuget.org/api/v2/package" end end @@ -160,4 +160,4 @@ def commit_data end [commit, commit_date] end - \ No newline at end of file +