Harrhp.Nuke.PackageBuild 1.0.0

.NET 6.0
dotnet tool install --global Harrhp.Nuke.PackageBuild --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Harrhp.Nuke.PackageBuild --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Harrhp.Nuke.PackageBuild&version=1.0.0
nuke :add-package Harrhp.Nuke.PackageBuild --version 1.0.0

Nuke Package Build

What does it do?

Provides dotnet tool that uses nuke for testing, publishing, managing changelog and releases of nuget packages

How to use?

  • Create .nuke directory so that nuke can automatically determine root directory or pass --root <path> argument to all commands
  • Create .nuke/parameters.json file with following content or pass --solution <path to sln> to commands that require access to solution. You can add other parameters to this file
{
	"Solution": "<path to sln relative to parent of .nuke directory>"
}

To see execution plan

npb --plan

This command updates changelog, tags release, publishes to nuget and create github release. It is possible to pass parameters via environment variables, just replace - with _

npb TagReleaseAndPush Publish CreateGithubRelease --publish-nuget-api-key *** --github-token ***

To see all targets and parametes

npb --help

nuke documentation

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.0 137 4/23/2022