Repository navigation
Adding Minor Releases to Patch Release Preparation - #51025
Merged
Jair Myree (jairmyree) merged 1 commit intoNov 2, 2026
Merged
Conversation
- Updated the patch release pipeline to allow for minor version increments via the `IncrementMinorVersion` parameter. - Enhanced documentation to clarify the new versioning behavior and usage. - Modified scripts to handle minor version logic in version calculations and changelog updates. - Added tests to ensure correct behavior for both patch and minor version increments.
Jair Myree (jairmyree)
requested review from
Praveen Kuttappan (praveenkuttappan) and
Ray Chen (raych1)
as code owners
October 29, 2026 19:29
Member
Author
|
Closes #51013 |
|
Azure Pipelines: Successfully started running 2 pipeline(s). 33 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The merge-back behavior can cause later version preparation to overwrite a published changelog heading, and both new regression test suites lack the UnitTest tag required for CI execution.
2 open issues
What changed in this PR
Adds opt-in minor releases to the dependency-update preparation workflow for the Azure SDK for Java BOM, while keeping patch increments as the default.
Changes:
- Passes
IncrementMinorVersionfrom the prepare pipeline through package selection and release generation. - Adds tests for minor-version calculation, dependency propagation, and merge-back behavior.
- Documents when to choose minor releases and how to validate them.
| File | Description |
|---|---|
| eng/scripts/Update-Artifacts-List-For-Patch-Release.ps1 | Forwards minor mode to artifact selection. |
| eng/scripts/tests/patchhelpers.tests.ps1 | Tests minor targets, dependency propagation, and qualified overrides. |
| eng/scripts/tests/patch-mergeback-helpers.tests.ps1 | Tests minor-version ordering and merge-back metadata. |
| eng/scripts/tests/Generate-Patches-For-Automatic-Releases.tests.ps1 | Adds pipeline binding and version-forwarding tests. |
| eng/scripts/tests/Create-Patch-Mergeback.tests.ps1 | Extends merge-back integration coverage to minor releases. |
| eng/scripts/tests/bomhelpers.tests.ps1 | Tests release targets and stable-source reset behavior. |
| eng/scripts/patchhelpers.ps1 | Applies minor increments during dependency analysis. |
| eng/scripts/generatepatch.ps1 | Exposes and forwards the minor-version switch. |
| eng/scripts/Generate-Patches-For-Automatic-Releases.ps1 | Carries minor mode through overrides and package preparation. |
| eng/scripts/bomhelpers.ps1 | Calculates minor targets and updates release messaging. |
| eng/pipelines/Patch-Release-README.md | Documents version selection and validation. |
| eng/pipelines/patch-release-prepare.yml | Adds a boolean option defaulting to patch mode. |
Review effort: Balanced
Alan Zimmer (alzimmermsft)
approved these changes
Oct 30, 2026
Jair Myree (jairmyree)
deleted the
jairmyree/update-patch-release-with-minor
branch
November 2, 2026 01:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adding the ability to release patch updates as minor version updates to support the scenario where dependency updates are significant enough to warrant a minor release.