[release/v7.6] Create LTS pkg and non-LTS pkg for macOS for LTS releases#27040
Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.6from Mar 16, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the macOS packaging pipeline template to produce both the standard and LTS .pkg installers during LTS releases, aligning macOS packaging behavior with other platforms.
Changes:
- Add an explicit preflight check that
tools/metadata.jsonexists before reading it. - For LTS releases, generate a standard
osxpkgpackage and an additional-LTSosxpkgpackage (instead of producing only one). - Ensure the LTS verbose log line is actually emitted by supplying
-Verbose.
daxian-dbw
added a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Mar 16, 2026
daxian-dbw
added a commit
that referenced
this pull request
Mar 16, 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 #27039 to release/v7.6
Triggered by @daxian-dbw on behalf of @daxian-dbw
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
Changes macOS packaging build pipeline to create both standard and LTS packages for LTS releases. This ensures users can distinguish between LTS and non-LTS packages on macOS, matching behavior of other platforms.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Backported from proven commits (27f0419 and ed53cf5) already in release/v7.4 branch. Build pipeline changes will be verified by CI. Original commits created both standard and LTS macOS packages as intended.
Risk
REQUIRED: Check exactly one box.
Changes affect the macOS build pipeline infrastructure, but are well-scoped to LTS package creation only. Changes have been validated in v7.4 release branch. Builds will fail early if there are issues, preventing bad packages.