◐ Shell
clean mode source ↗

Change the display name of PowerShell-LTS package to 'PowerShell LTS' by daxian-dbw · Pull Request #27203 · PowerShell/PowerShell

Conversation

@daxian-dbw

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.

jshigetomi

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'

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.

TravisEz13

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

JustinGrote pushed a commit to JustinGrote/PowerShell that referenced this pull request

Jun 2, 2026

Labels