Skip to content

Create LTS pkg and non-LTS pkg for macOS for LTS releases#27039

Merged
daxian-dbw merged 1 commit intoPowerShell:masterfrom
daxian-dbw:lts-package
Mar 16, 2026
Merged

Create LTS pkg and non-LTS pkg for macOS for LTS releases#27039
daxian-dbw merged 1 commit intoPowerShell:masterfrom
daxian-dbw:lts-package

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

PR Summary

Create LTS pkg and non-LTS pkg for macOS for LTS releases, by backporting the following 2 commits from release/v7.4 branch:

@daxian-dbw daxian-dbw requested review from a team and jshigetomi as code owners March 16, 2026 19:16
Copilot AI review requested due to automatic review settings March 16, 2026 19:16
Copy link
Copy Markdown
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

This PR updates the macOS packaging pipeline template to produce both the standard (non-LTS) .pkg and the LTS .pkg when building an LTS release, aligning macOS packaging behavior with expected release outputs.

Changes:

  • Add an explicit existence check for tools/metadata.json before reading it to determine LTS packaging behavior.
  • Always build the standard macOS .pkg, and additionally build an LTS .pkg when $LTS is true.
  • Make the LTS verbose log line consistently emit output by passing -Verbose.

@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
@daxian-dbw daxian-dbw merged commit 8c9c9e1 into PowerShell:master Mar 16, 2026
42 of 43 checks passed
@daxian-dbw daxian-dbw deleted the lts-package branch March 16, 2026 19:40
daxian-dbw added a commit to daxian-dbw/PowerShell that referenced this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BackPort-7.5.x-Consider Backport-7.6.x-Migrated 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.

3 participants