dotnet plugin for release-it
This release-it plugin pushes a dotnet package to a NuGet feed.
⚠️ This plugin is still in development and not yet ready for production use.
Installation
yarn add @neolution-ch/release-it-dotnet-plugin -D
or
npm install --save-dev @neolution-ch/release-it-dotnet-plugin
Usage
In release-it config:
"plugins": {
"@neolution-ch/release-it-dotnet-plugin": {
"csprojFile": "path/to/your.csproj",
"nugetApiKey": "your-nuget-api-key"
}
}
Options
Required | Name | Default | Description |
---|---|---|---|
csprojFile | - | The path to the csproj File | |
nugetApiKey | - | The api key for the nuget feed | |
nugetFeedUrl | https://api.nuget.org/v3/index.json | The url for the nuget feed | |
dotnetPush | true |
Should the dotnet push command be run? Otherwise it will just be a dry run to check if everything would be working. |
|
buildConfiguration | Release |
The build configuration for the dotnet pack command |