Skip to content

Pm 37565#7639

Draft
addisonbeck wants to merge 2 commits into
mainfrom
pm-37565
Draft

Pm 37565#7639
addisonbeck wants to merge 2 commits into
mainfrom
pm-37565

Conversation

@addisonbeck
Copy link
Copy Markdown
Contributor

🎟️ Tracking

📔 Objective

📸 Screenshots

PM-37565 requires hotfix-rc branch cuts never produce .0 patch
versions. When the calendar month rolls over, version-next normally
bumps to the new month's .0 -- which is wrong for hotfix branches.

The fix adds a dedicated hotfix version calculation step using shell
arithmetic to increment only the patch segment of the current version.
The existing version-next-based calculate and bump steps are gated to
skip when branch == hotfix-rc. A parallel hotfix-specific bump step
for Directory.Build.props and a matching branch in set-final-version-
output wire the new version into the release pipeline.

Refs: PM-37565
PM-37565 requires hotfix-rc branch cuts never produce .0 patch
versions. When the calendar month rolls over, version-next normally
bumps to the new month's .0 -- which is wrong for hotfix branches.

The fix adds a dedicated hotfix version calculation step using shell
arithmetic to increment only the patch segment of the current version.
Conditions previously gating on exact `== 'hotfix-rc'` equality are
replaced with `contains(..., 'hotfix')` so future hotfix-N variants
are covered automatically. A new resolve-branch-name step in cut_branch
appends the calculated version to any hotfix branch name (e.g.,
`hotfix-rc-2026.5.1`) before the branch existence check and push.
A parallel hotfix-specific bump step for Directory.Build.props and a
matching branch in set-final-version-output wire the new version into
the release pipeline.

Refs: PM-37565
@sonarqubecloud
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.85%. Comparing base (b0dd1c9) to head (b59bd8c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7639      +/-   ##
==========================================
+ Coverage   59.83%   59.85%   +0.02%     
==========================================
  Files        2120     2121       +1     
  Lines       93377    93401      +24     
  Branches     8284     8285       +1     
==========================================
+ Hits        55868    55903      +35     
+ Misses      35527    35518       -9     
+ Partials     1982     1980       -2     

☔ View full report in Codecov by Sentry.
📢 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