Skip to content

Change the display name of PowerShell-LTS package to 'PowerShell LTS'#27203

Merged
daxian-dbw merged 1 commit into
masterfrom
lts-display-name
Apr 7, 2026
Merged

Change the display name of PowerShell-LTS package to 'PowerShell LTS'#27203
daxian-dbw merged 1 commit into
masterfrom
lts-display-name

Conversation

@daxian-dbw

@daxian-dbw daxian-dbw commented Apr 7, 2026

Copy link
Copy Markdown
Member

PR Summary

Change the display name of PowerShell-LTS MSIX package to from 'PowerShell-LTS' to 'PowerShell LTS'.
The package's family identity name is unchanged.

@daxian-dbw daxian-dbw requested a review from jshigetomi April 7, 2026 21:19
@daxian-dbw daxian-dbw requested a review from a team as a code owner April 7, 2026 21:19
@daxian-dbw daxian-dbw requested review from TravisEz13 and Copilot April 7, 2026 21:19
@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 Apr 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates MSIX packaging metadata so the PowerShell LTS package shows a friendlier display name (“PowerShell LTS”) while keeping the underlying product/package identity unchanged.

Changes:

  • Change the MSIX $displayName suffix for LTS builds from -LTS to LTS.

Comment on lines 4284 to +4288
$ProductName += 'Preview'
$displayName += ' Preview'
} elseif ($LTS) {
$ProductName += '-LTS'
$displayName += '-LTS'
$displayName += ' LTS'

Copilot AI Apr 7, 2026

Copy link

Choose a reason for hiding this comment

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

-LTS is evaluated after $ProductSemanticVersion.Contains('-'), so an LTS MSIX build with any hyphenated version (e.g. rebuild/rc) will be treated as Preview and never reach the LTS branch (wrong $ProductName/$displayName). To align with the repo’s Test-IsPreview -IsLTS behavior, either check $LTS before preview detection, or replace this condition with Test-IsPreview -Version $ProductSemanticVersion -IsLTS:$LTS and keep the naming/asset selection consistent.

Copilot uses AI. Check for mistakes.
@daxian-dbw daxian-dbw merged commit 0fe8748 into master Apr 7, 2026
45 of 48 checks passed
@daxian-dbw daxian-dbw deleted the lts-display-name branch April 7, 2026 21:55
daxian-dbw added a commit to daxian-dbw/PowerShell that referenced this pull request Apr 9, 2026
daxian-dbw added a commit to daxian-dbw/PowerShell that referenced this pull request Apr 9, 2026
daxian-dbw added a commit to daxian-dbw/PowerShell that referenced this pull request Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.4.x-Done Backport-7.5.x-Done Backport-7.6.x-Done 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.

4 participants