GitTagger.Cli 1.2.2.12

dotnet tool install --global GitTagger.Cli --version 1.2.2.12
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 GitTagger.Cli --version 1.2.2.12
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=GitTagger.Cli&version=1.2.2.12
nuke :add-package GitTagger.Cli --version 1.2.2.12

GitTagger

USAGE
  GitTagger.Cli [options]
  GitTagger.Cli [command] [...]

DESCRIPTION
  Running wihout parameters will dry-run and show version for current commit

OPTIONS
  --path            Path to project/repository Default: ".".
  --release-branch  Mainline branch Default: "master".
  --develop-branch  Patch/work branch Default: "develop".
  -h|--help         Shows help text.
  --version         Shows version information.

COMMANDS
  bump              Bump version with options
  tag               Tags the repository with the current version
Versions set:
master      A -- B (1.0.0.2) --- C ------------------------ D -------------------------- E (1.1.0.5) --- F ---- G (1.2.0.7)
                  \                                                                     /                      /
develop            B (1.0.0.2) - C (1.0.1.3) -------------- D ------------------------ E (1.0.2.5) --- F ---- G (1.0.3.7)
                                / \                                                   /                      /
dev/some-1                     |   C (1.0.2.3-dev-some-1) - D (1.0.2.4-dev-some-1) - E (1.0.2.5-dev-some-1) /
                               |                                                                           /
dev/some-2                     C (1.0.2.3-dev-some-2) ------------------------ F (1.0.2.4-dev-some-2) --- G (1.0.2.5-dev-some-2)
csproj code for autoset:
...
<Target Name="PopulateInfo" BeforeTargets="GetAssemblyVersion;GenerateNuspec;GetPackageContents">
	<PropertyGroup>
		<Version>$(GitTag)</Version>
		<PackageVersion>$(Version)</PackageVersion>

		<RepositoryBranch>$(GitBranch)</RepositoryBranch>
		<RepositoryCommit>$(GitCommit)</RepositoryCommit>
		<SourceRevisionId>$(GitBranch) $(GitCommit)</SourceRevisionId>
	</PropertyGroup>
</Target>

<Target Name="SetSourceRevisionId" BeforeTargets="GenerateAssemblyInfo" AfterTargets="GitInfo">
	<Exec Command="dotnet tool install --local --create-manifest-if-needed GitTagger.Cli" ConsoleToMSBuild="True" IgnoreExitCode="False" />
	<Exec Command="dotnet tool run git-tagger tag" ConsoleToMSBuild="True" IgnoreExitCode="False" />
</Target>
...
<ItemGroup>
  ...
  <PackageReference Include="GitInfo" Version="3.3.4">
    <PrivateAssets>all</PrivateAssets>
    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  </PackageReference>
</ItemGroup>
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
1.2.2.12 77 5/10/2024
1.2.1.5 54 5/2/2024