Soenneker.GitHub.Repositories.Tags 11.0.1141

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.GitHub.Repositories.Tags --version 11.0.1141
                    
NuGet\Install-Package Soenneker.GitHub.Repositories.Tags -Version 11.0.1141
                    
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="Soenneker.GitHub.Repositories.Tags" Version="11.0.1141" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.GitHub.Repositories.Tags" Version="11.0.1141" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.GitHub.Repositories.Tags" />
                    
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 Soenneker.GitHub.Repositories.Tags --version 11.0.1141
                    
#r "nuget: Soenneker.GitHub.Repositories.Tags, 11.0.1141"
                    
#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 Soenneker.GitHub.Repositories.Tags@11.0.1141
                    
#: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=Soenneker.GitHub.Repositories.Tags&version=11.0.1141
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.GitHub.Repositories.Tags&version=11.0.1141
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.GitHub.Repositories.Tags

Create annotated tags from a repository's default branch, list and inspect tags, compare releases, and delete tag references.

Installation

dotnet add package Soenneker.GitHub.Repositories.Tags

Configuration

{
  "GH": {
    "Token": "github-token"
  }
}

Creating or deleting tags requires repository contents write access. Listing and comparing tags requires read access.

Registration

services.AddGitHubRepositoriesTagsUtilAsSingleton();

Use AddGitHubRepositoriesTagsUtilAsScoped() for a scoped consumer.

Create a tag

await tags.Create(
    "soenneker",
    "example-repository",
    "v1.2.0",
    cancellationToken);

Create resolves the repository's default branch, creates an annotated Git tag for its current head commit, then creates refs/tags/v1.2.0. The generated annotation message is Tag v1.2.0.

Inspect and compare tags

IReadOnlyList<Tag> allTags = await tags.GetAll(
    "soenneker",
    "example-repository",
    cancellationToken);

CommitComparison changes = await tags.Compare(
    "soenneker",
    "example-repository",
    "v1.1.0",
    "v1.2.0",
    cancellationToken);

GetAll follows pagination. Tag names are matched case-sensitively. GetTagDetails and GetTagCommit expect annotated tags because they resolve the Git tag object before its commit.

GetLatestStableTag selects the highest tag that System.Version can parse after removing one leading v. Tags containing -rc, -beta, or -alpha are skipped; other semantic-version prerelease or build suffixes are not parsed by System.Version.

Delete permanently removes the named tag reference. It does not delete the commit or any GitHub release associated with that tag.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.GitHub.Repositories.Tags:

Package Downloads
Soenneker.GitHub.Repositories.Releases

Creates, retrieves, deletes, uploads, and downloads GitHub releases and assets

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.1145 0 12/3/2026
11.0.1144 0 12/3/2026
11.0.1143 0 12/3/2026
11.0.1142 168 12/3/2026
11.0.1141 42 12/3/2026
11.0.1140 158 12/3/2026
11.0.1139 91 12/3/2026
11.0.1138 189 12/2/2026
11.0.1137 297 12/2/2026
11.0.1135 190 12/2/2026
11.0.1134 190 12/2/2026
11.0.1133 201 12/2/2026
11.0.1132 76 12/2/2026
11.0.1131 933 12/2/2026
11.0.1130 449 12/2/2026
11.0.1129 942 12/1/2026
11.0.1128 140 12/1/2026
11.0.1127 100 12/1/2026
11.0.1126 170 12/1/2026
11.0.1125 289 12/1/2026
Loading failed

Updated Soenneker.GitHub.ClientUtil to 11.0.830