Skip to content

ci(release): add alpha/beta/rc release channel#4388

Merged
glennawatson merged 1 commit into
mainfrom
feature/beta-release-channel
Jun 26, 2026
Merged

ci(release): add alpha/beta/rc release channel#4388
glennawatson merged 1 commit into
mainfrom
feature/beta-release-channel

Conversation

@glennawatson

@glennawatson glennawatson commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

CI — adds a pre-release channel to the Release dispatch.

What is the new behavior?

The Release workflow gains a channel choice input (none / alpha / beta / rc, default none), combined with the existing bump (major/minor/patch):

  • major + beta6.0.0-beta.1; re-run → 6.0.0-beta.2 (the counter auto-increments from existing v6.0.0-beta.N tags)
  • switch to rc6.0.0-rc.1 (per-channel counter; beta.10 correctly orders above beta.9)
  • major + none → finalises 6.0.0 (last stable + bump)

Versions use dotted SemVer 2.0 pre-release form (-beta.1), which NuGet orders correctly. Pre-release runs flag the GitHub release with --prerelease, so the latest stable stays "Latest".

channel=none maps to an empty preRelease (choice inputs can't be empty); the work is delegated to the reusable workflow-common-release / workflow-common-create-release in reactiveui/actions-common@main.

What is the current behavior?

The Release dispatch only exposes bump (patch/minor/major) and always cuts a stable RTM version (vX.Y.Z). There is no supported way to publish an incrementing alpha/beta/rc pre-release.

What might this PR break?

None. channel defaults to none, which reproduces today's stable-release behaviour exactly. Finalising a stable release uses the same "last stable + bump" math as before, so re-select the same bump the betas used.

Checklist

  • I have read the Contribute guide
  • Tests have been added or updated (for bug fixes / features)
  • Docs have been added or updated (for bug fixes / features)
  • Changes target the main branch
  • PR title follows Conventional Commits

Additional information

Depends on the reusable-workflow side in reactiveui/actions-common@main (already merged): pre-release-id on compute-version-and-tag, preRelease/prerelease on workflow-common-release, and prerelease on workflow-common-create-release.

Add a 'channel' dispatch input (none/alpha/beta/rc) wired to the reusable
release workflow's preRelease. bump + channel cuts an auto-incrementing
pre-release (e.g. major + beta -> 6.0.0-beta.1, 6.0.0-beta.2); channel=none
finalises the stable version. Flags pre-release GitHub releases so the latest
stable stays "Latest".
@glennawatson glennawatson merged commit 3823cc3 into main Jun 26, 2026
8 checks passed
@glennawatson glennawatson deleted the feature/beta-release-channel branch June 26, 2026 17:06
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.05%. Comparing base (6433b00) to head (b47634f).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4388   +/-   ##
=======================================
  Coverage   93.05%   93.05%           
=======================================
  Files         339      339           
  Lines       14882    14882           
  Branches     1567     1567           
=======================================
  Hits        13848    13848           
  Misses        770      770           
  Partials      264      264           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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