Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
daxian-dbw merged 1 commit into
masterPowerShell/PowerShell:masterfrom
lts-display-namePowerShell/PowerShell:lts-display-nameCopy head branch name to clipboard
Apr 7, 2026
Merged

Change the display name of PowerShell-LTS package to 'PowerShell LTS'#27203
daxian-dbw merged 1 commit into
masterPowerShell/PowerShell:masterfrom
lts-display-namePowerShell/PowerShell:lts-display-nameCopy head branch name to clipboard

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

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

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
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

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'
Copy link

Copilot AI Apr 7, 2026

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.