dotnet-oleander-versioning-tool 0.2.0.3-beta

This is a prerelease version of dotnet-oleander-versioning-tool.
dotnet tool install --global dotnet-oleander-versioning-tool --version 0.2.0.3-beta
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 dotnet-oleander-versioning-tool --version 0.2.0.3-beta
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-oleander-versioning-tool&version=0.2.0.3-beta&prerelease
nuke :add-package dotnet-oleander-versioning-tool --version 0.2.0.3-beta

AssemblyVersioning

Assembly versioning is a tool that calculates the next version of a dotnet assembly. To do this, the public API of the assembly is compared with the last (reference version) compiled version.

Oleander.Assembly.Comparers

Based on Telerik's JustDecompile, the public API of two dotnet assemblies is compared.

Result:

  • VersionChange.None: no changes

  • VersionChange.Revision: not used here

  • VersionChange.Build: changes do not affect the public API

  • VersionChange.Minor: API has been changed but is backwards compatible

  • VersionChange.Major: The API has been changed and is not backwards compatible (BreakingChange)

  • ToXml(): Changes in XML format

Oleander.Assembly.Versioning

Includes the logic and infrastructure.

  • Tries to download the NuGet package with the highest version as a reference assembly

  • Updates the project or AssemblyInfo.cs file

    • AssemblyVersion: calculated version
    • FileVersion: calculated version
    • Version: calculated version + VersionSuffix
    • SourceRevisionId: git commit hash number
    • VersionSuffix: alpha, beta
  • Customizing

    • .gitdiff<br><br> File containing the file extensions whose build number should be increased. Each line corresponds to a file extension.

    • .versioningIgnore<br><br> File in the project or git repository directory with the API names that should be ignored when calculating the version.

Oleander.Assembly.Versioning.BuildTask

Microsoft.Build.Utilities.Task: Adds a target to MSBuild. To calculate the version for each build process, add the task to your project: dotnet add package Oleander.Assembly.Versioning.BuildTask --version {version}

Oleander.Assembly.Versioning.Tool

A dotnet tool for comparing dotnet assemblies and updating your project version.

dotnet tool install --global dotnet-oleander-versioning-tool

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.2.0.3-beta 36 6/12/2024
0.2.0.1-beta 66 3/25/2024
0.2.0-beta 56 3/15/2024

Oleander.Assembly.Versioning.Tool Version:0.2.0.3-beta Release:240612