Skip to content
prabirshrestha edited this page Jul 3, 2011 · 1 revision

Publishes the pushed nuget package.

How to use the NuGetPublish task

 nugetpublish :nuget_publish do |nuget|
    nuget.command = "nuget.exe"
    nuget.id =  "Facebook"
    nuget.version = "5.0.25.0"
    nuget.apikey = "...."
    nuget.source = "http://nuget.gw.symbolsource.org/Public/Nuget"
end

##Required Properties

id Nuget package id.

version Nuget package version.

##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 for 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".

Clone this wiki locally