-
Notifications
You must be signed in to change notification settings - Fork 71
NugetPush Task
prabirshrestha edited this page Jul 3, 2011
·
1 revision
Pushes the .nuget package online.
Here is an example of how to use the NuGetPush task.
nugetpush :nuget_push do |nuget|
nuget.command = "nuget.exe"
nuget.package = "Facebook.5.0.25.0.nupkg"
nuget.apikey = "...."
nuget.source = "http://nuget.gw.symbolsource.org/Public/Nuget"
nuget.create_only = false
end
##Required Properties package Path to the nuget package.
##Optional Parameters command The location of nuget.exe. (If not specified it will default to nuget.exe and search in the PATH environment variables).
apikey Api key to push to the nuget server.
source If you want to push to nuget.org ignore this parameter. If you want to push to symbol source set it to "http://nuget.gw.symbolsource.org/Public/Nuget".
create_only By default nuget.exe pushes and publishes the package. If you want to push but not publish set it to false. (Use NugetPublish task if you want to publish the pushed package later on.