0.1.2 • Published 10 months ago
@neolution-ch/release-it-dotnet-plugin v0.1.2
dotnet plugin for release-it
This release-it plugin pushes a dotnet package to a NuGet feed.
:warning: 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 |
---|---|---|---|
:white_check_mark: | csprojFile | - | The path to the csproj File |
:white_check_mark: | nugetApiKey | - | The api key for the nuget feed |
:x: | nugetFeedUrl | https://api.nuget.org/v3/index.json | The url for the nuget feed |
:x: | dotnetPush | true | Should the dotnet push command be run? Otherwise it will just be a dry run to check if everything would be working. |
:x: | buildConfiguration | Release | The build configuration for the dotnet pack command |