[release/v7.6] Fetch latest ICU release version dynamically#26970
Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.6from Mar 9, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Backports the build/packaging change to stop hardcoding the ICU “build” major version and instead derive it dynamically from the latest ICU GitHub release, keeping dependency generation up to date over time.
Changes:
- Replaces the hardcoded ICU build major version with a call to
Get-IcuLatestRelease. - Adds
Get-IcuLatestReleaseto fetch and parse the latest ICU release info from GitHub.
Contributor
|
one of those times when you can safely ignore copilot's word salad |
adityapatwardhan
approved these changes
Mar 9, 2026
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.
Backport of #26827 to release/v7.6
Triggered by @daxian-dbw on behalf of @kasperk81
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Updates build system to dynamically fetch the latest ICU release version from GitHub instead of using hardcoded values. This simplifies build maintenance and ensures latest ICU versions are used.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Verified by running build process to confirm ICU version is fetched correctly from GitHub releases API. No changes to runtime behavior or test requirements.
Risk
REQUIRED: Check exactly one box.
Medium risk as it changes build system behavior for ICU version detection. The change makes builds more maintainable by fetching latest ICU releases dynamically rather than hardcoding versions. Limited scope to build-time operations only.