Change the display name of PowerShell-LTS package to 'PowerShell LTS'#27203
Merged
Merged
Change the display name of PowerShell-LTS package to 'PowerShell LTS'#27203
Conversation
jshigetomi
approved these changes
Apr 7, 2026
Contributor
There was a problem hiding this comment.
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
$displayNamesuffix for LTS builds from-LTStoLTS.
Comment on lines
4284
to
+4288
| $ProductName += 'Preview' | ||
| $displayName += ' Preview' | ||
| } elseif ($LTS) { | ||
| $ProductName += '-LTS' | ||
| $displayName += '-LTS' | ||
| $displayName += ' LTS' |
There was a problem hiding this comment.
-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.
TravisEz13
approved these changes
Apr 7, 2026
daxian-dbw
added a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Apr 9, 2026
9 tasks
daxian-dbw
added a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Apr 9, 2026
9 tasks
daxian-dbw
added a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Apr 9, 2026
9 tasks
JustinGrote
pushed a commit
to JustinGrote/PowerShell
that referenced
this pull request
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.