ConventionalCommitsGitInfo 0.3.6
dotnet add package ConventionalCommitsGitInfo --version 0.3.6
NuGet\Install-Package ConventionalCommitsGitInfo -Version 0.3.6
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="ConventionalCommitsGitInfo" Version="0.3.6"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConventionalCommitsGitInfo --version 0.3.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ConventionalCommitsGitInfo, 0.3.6"
#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.
// Install ConventionalCommitsGitInfo as a Cake Addin #addin nuget:?package=ConventionalCommitsGitInfo&version=0.3.6 // Install ConventionalCommitsGitInfo as a Cake Tool #tool nuget:?package=ConventionalCommitsGitInfo&version=0.3.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ConventionalCommitsGitInfo
Once installed, this library adds a SetSemanticVersion
target that sets the following properties:
<PropertyGroup>
<Version>$(_Version)</Version>
<FileVersion>$(Version)</FileVersion>
<PackageVersion>$(Version)</PackageVersion>
<PackageReleaseNotes>$(_ReleaseNotes)</PackageReleaseNotes>
</PropertyGroup>
Versions will be calculated according to Conventional Commits specification specifications:
- For each
BREAKING CHANGE:
the major version will be increased - For each
feat:
the minor version will be increased - For each
fix:
the patch version will be increased
There are two behaviors here, for new libraries with no commit history, and for adapting old libraries:
- For new libraries versioning starts from version
0.1.0
. - For older versions, you need to specify the commit ID from which versioning will start and the base version.
PackageReleaseNotes
will contain text like this:
⭐ Last 10 features:
Added ability to set up custom OnChanged method.
Added OnChanged/OnChanging implementation detection to remove unused callbacks.
Added possibility of embedding attributes.
🐞 Last 10 bug fixes:
Fixed bug with AttachedDependencyProperty method detection.
Fixed Nullable value type generation.
Fixed issues with BindEvents after detection feature.
Install
Install-Package ConventionalCommitsGitInfo
Settings
Default settings are shown here:
<Target Name="SetSemanticVersionSettings" BeforeTargets="SetSemanticVersion">
<PropertyGroup>
<ConventionalCommitsGitInfo_BaseVersion>0.1.0</ConventionalCommitsGitInfo_BaseVersion>
<ConventionalCommitsGitInfo_BaseCommit></ConventionalCommitsGitInfo_BaseCommit>
<ConventionalCommitsGitInfo_ReleaseNotesCount>10</ConventionalCommitsGitInfo_ReleaseNotesCount>
<ConventionalCommitsGitInfo_MessageImportance>low</ConventionalCommitsGitInfo_MessageImportance>
</PropertyGroup>
</Target>
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.