Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 822 Bytes

DOCS.md

File metadata and controls

28 lines (20 loc) · 822 Bytes

Use this plugin to publish artifacts from the build to a NuGet Repository You can override the default configuration with the following parameters:

  • source - NuGet Repository URL
  • api_key - Api Key used for authentication
  • verbosity - NuGet output verbosity, default to 'quiet'. Accept: normal, quiet or detailed
  • files - List of files to upload

All file paths must be relative to current project sources

Example

The following is a sample configuration in your .drone.yml file:

publish:
  nuget:
    source: http://nuget.company.com
    api_key: <Your Key>
    files: 
      - *.nupkg

.nuspec / .nupkg

If a file to upload does have .nuspec extension, the nuget pack command is called before a push

If a file to upload does have .nupkg extension, it is pushed directly