Skip to content

[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
daxian-dbw:backport/release/v7.6/27039-8c9c9e118
Mar 16, 2026
Merged

[release/v7.6] Create LTS pkg and non-LTS pkg for macOS for LTS releases#27040
daxian-dbw merged 1 commit intoPowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/27039-8c9c9e118

Conversation

@daxian-dbw
Copy link
Member

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

  • Required tooling change
  • Optional tooling change (include reasoning)

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

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

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.

  • High
  • Medium
  • Low

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.

@daxian-dbw daxian-dbw requested review from a team and jshigetomi as code owners March 16, 2026 19:50
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 16, 2026
Copilot AI review requested due to automatic review settings March 16, 2026 19:50
@daxian-dbw daxian-dbw merged commit 65c8ece into PowerShell:release/v7.6 Mar 16, 2026
37 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.6/27039-8c9c9e118 branch March 16, 2026 19:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.json exists before reading it.
  • For LTS releases, generate a standard osxpkg package and an additional -LTS osxpkg package (instead of producing only one).
  • Ensure the LTS verbose log line is actually emitted by supplying -Verbose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants