Skip to content

Commit

Permalink
Source is now a required parameter for pushing the NuGet package
Browse files Browse the repository at this point in the history
  • Loading branch information
jweber committed May 3, 2016
1 parent 512520f commit bf92d4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ DEPENDENCIES
semver2

BUNDLED WITH
1.10.6
1.11.2
4 changes: 2 additions & 2 deletions rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -160,4 +160,4 @@ def commit_data
end
[commit, commit_date]
end


0 comments on commit bf92d4a

Please sign in to comment.