Skip to content

Publish releases for multi-digit version numbers - #269

Merged
mauroservienti merged 1 commit into
masterfrom
fix-ci-tag-filters
Nov 1, 2026
Merged

mauroservienti merged 1 commit into
masterfrom
fix-ci-tag-filters

Conversation

@mauroservienti

Copy link
Copy Markdown
Member

The CI tag filters didn't match every version:

Tag Before After
4.0.10 no build, nothing published published to NuGet.org
10.0.0 no build, nothing published published to NuGet.org
10.0.0-beta.1 no build, nothing published published to Feedz.io

The stable tag check, [0-9]+.[0-9]+.[0-9]+$, is now anchored and escaped. Unanchored, a pre-release tag ending in three numbers, such as 1.0.0-alpha.1.2.3, would have been published to NuGet.org as a stable release.

This repository has no active release branch to backport to.

…so tags such as 5.2.10 or 10.0.0 published nothing. The stable tag check was unanchored and unescaped, so a pre-release tag ending in three numbers, such as 1.0.0-alpha.1.2.3, would have been published to NuGet.org as stable.

Publish releases for multi-digit version numbers
@mauroservienti
mauroservienti merged commit beb237e into master Nov 1, 2026
4 checks passed
@mauroservienti
mauroservienti deleted the fix-ci-tag-filters branch November 1, 2026 16:43
mauroservienti added a commit that referenced this pull request Nov 1, 2026
* Publish to NuGet.org with trusted publishing (#267)

Get a short-lived API key from NuGet.org through GitHub's OIDC token instead of using the long-lived NUGET_API_KEY secret.

(cherry picked from commit b913127)

* Publish releases for multi-digit version numbers (#269)

The tag filters only matched single-digit majors and stable patches, so tags such as 4.2.10 or 10.0.0 published nothing. The stable tag check was unanchored and unescaped, so a pre-release tag ending in three numbers, such as 1.0.0-alpha.1.2.3, would have been published to NuGet.org as stable.

(cherry picked from commit beb237e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant