As Steffen mentioned, you can use the NuGet Publish task, it is described in the API, but there is no tutorial for this.
Your script code might look like this:
NuGetPublish (fun nugetParams -> { nugetParams with AccessKey = "nuget_api_key" PublishUrl = "nuget_feed_url" Project = "project_name" Version = "project_version" WorkingDir = "nupkg_file_location" } )
Where:
- The project is the main part of your nupkg file name (i.e.
My.Super.Project ) - Version is part of the version of your nupkg file name (i.e.
0.0.10 ) - WorkingDir - location of your nukpg file
The full name of the nupkg file this task will look for:
WorkingDir\Project.Version.nupkg
source share