Skip to content

Keep non-shipping Mono packages prerelease - #10230

Merged
mmitche merged 1 commit into
dotnet:mainfrom
mmitche:dev/mmitche/nonshipping-package-version-main
Oct 14, 2026
Merged

mmitche merged 1 commit into
dotnet:mainfrom
mmitche:dev/mmitche/nonshipping-package-version-main

Conversation

@mmitche

@mmitche mmitche commented Oct 14, 2026

Copy link
Copy Markdown
Member

Summary

  • only assign StableVersion to shipping Mono packages
  • keep internal workload-testing and BrowserDebugHost transport packages prerelease during stable builds
  • match the fix already present on release/10.0.1xx

Testing

Not run, per request. This is the same one-line condition used on release/10.0.1xx.

Note

This pull request was prepared with GitHub Copilot.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: 3cc83775-a60e-471d-88d0-df8e87fa8fc9
Copilot AI balanced review requested due to automatic review settings October 14, 2026 18:01
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team October 14, 2026 18:01
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused condition correctly preserves prerelease versions for both explicitly non-shipping packages.

0 open findings

What changed in this PR

Restricts stable version assignment to shipping Mono packages, keeping internal packages prerelease during stable builds.

Changes:

  • Adds an IsShipping condition to StableVersion.
  • Aligns behavior with the release/10.0.1xx branch.
File Description
src/​runtime/​src/​mono/​nuget/​Directory.Build.targets Stabilizes only shipping package versions.

🧠 Review effort: Balanced


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@mmitche
mmitche enabled auto-merge (squash) October 14, 2026 18:48
@mmitche
mmitche merged commit cb38d60 into dotnet:main Oct 14, 2026
11 checks passed
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.

3 participants