SemanticRelease.DotNet 1.0.3

dotnet add package SemanticRelease.DotNet --version 1.0.3
                    
NuGet\Install-Package SemanticRelease.DotNet -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SemanticRelease.DotNet" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SemanticRelease.DotNet" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="SemanticRelease.DotNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SemanticRelease.DotNet --version 1.0.3
                    
#r "nuget: SemanticRelease.DotNet, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SemanticRelease.DotNet@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SemanticRelease.DotNet&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=SemanticRelease.DotNet&version=1.0.3
                    
Install as a Cake Tool

NuGet Version NuGet Downloads

SemanticRelease.DotNet

Inspired by the Node.js semantic-release tool, this was designed to make versioning and releasing .NET packages easy

Overview

This plugin serves as the tool for running dotnet commands (build, restore, pack, publish) based on configured options.

Features

  • Configurable commands
  • Automatic use of the updated version (if used after determining the next version)

Requirements

  • .NET Standard 2.1 or later
  • C# 8.0 or later

Usage

The base semantic-release tool handles all package resolution automatically (including downloading plugins from NuGet!) All you have to do is configure the plugin!

  • Using the default configuration
{
  // base configuration
  "pluginConfigs": [
    "SemanticRelease.DotNet"
  ]
}
  • Using custom configuration
{
  "pluginConfigs": [
    {
      "name": "SemanticRelease.DotNet",
      "options": {
        // Options should be provided here
      }
    }
  ]
}

Options

Name Description Default Value Required
build Whether the plugin should build the project true
restore Whether the plugin should restore NuGet packages true
publish Whether the plugin should try to publish publishable projects false
pack Whether the plugin should try to pack projects into NuGet packages false
useSkipFlags Injects --no-build and --no-restore into dotnet commands true
configuration Which configuration to use for build, pack, and publish null
outputDir Where pack should put the associated package files null
slnOrProject The solution or project that you want to build. Glob patterns are not accepted at this time null

NOTE: outputDir is NOT required and your artifacts will be placed in the appropriate location based on the pack command. The default location is bin/Release/<Framework>/ per the behavior of dotnet pack.

License

This project is licensed under the MIT License—see the LICENSE file for more details

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 60 7/19/2025
1.0.2 106 7/18/2025
1.0.1 131 7/15/2025
1.0.0 129 7/15/2025