NugetPublish Task

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" =  "Facebook"
    nuget.version = ""
    nuget.apikey = "...."
    nuget.source = ""

##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 ignore this parameter. If you want to push to symbol source set it to "".