Skip to content

Enable NuGet pre-releases - #98

Merged
tmittet merged 2 commits into
mainfrom
tmittet/prerelease-ci-pipeline
Jul 12, 2026
Merged

Enable NuGet pre-releases#98
tmittet merged 2 commits into
mainfrom
tmittet/prerelease-ci-pipeline

Conversation

@tmittet

@tmittet tmittet commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Updates the release workflow to preserve NuGet pre-release suffixes and adds guardrails to prevent accidental stable releases by validating tag format against the GitHub “pre-release” flag and constraining stable releases to commits on main.

Changes:

  • Derive package version directly from the release tag (preserving -suffix for pre-releases).
  • Validate tag SemVer shape and enforce consistency between tag suffix and GitHub “pre-release” checkbox.
  • Add a stable-release restriction intended to ensure stable tags point to commits on main.

by updating build.yml to keep pre-release version suffixes.
Prevent accidental stable release by validating tags against the GitHub
pre-release checkbox, and restricting stable releases to main branch.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release workflow to preserve NuGet pre-release suffixes and adds guardrails to prevent accidental stable releases by validating tag format against the GitHub “pre-release” flag and constraining stable releases to commits on main.

Changes:

  • Derive package version directly from the release tag (preserving -suffix for pre-releases).
  • Validate tag SemVer shape and enforce consistency between tag suffix and GitHub “pre-release” checkbox.
  • Add a stable-release restriction intended to ensure stable tags point to commits on main.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@tmittet
tmittet merged commit 6da33f1 into main Jul 12, 2026
16 checks passed
@tmittet
tmittet deleted the tmittet/prerelease-ci-pipeline branch July 12, 2026 09:49
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.

2 participants