-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Change packaging to produce LTS
packages
#11772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Create pwsh-lts symbolic link Build LTS packages in addition to stable Revert vstsbuild changes Make PowerShellPackage.ps1 build LTS packages
Avoid checking ReleaseTag when doing bootstrap Add LTS switch for pkg build Mac signing changes
tools/packaging/packaging.psm1
Outdated
@@ -1416,7 +1449,7 @@ function New-MacOSLauncher | |||
$plistcontent | Out-File -Force -Path $plist -Encoding utf8 | |||
|
|||
# Create shell script. | |||
$executablepath = if ($IsPreview) { "/usr/local/bin/pwsh-preview" } else { "/usr/local/bin/pwsh" } | |||
$executablepath = if ($IsPreview) { "/usr/local/bin/pwsh-preview" } elseif ($LTS) { "/usr/local/bin/pwsh-lts"} else { "/usr/local/bin/pwsh" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the 3rd place this code is duplicated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactored to a function
@PoshChan Please remind me in 1 hour |
@TravisEz13, this is the reminder you requested 1 hour ago |
🎉 Handy links: |
PR Summary
Make changes to the packaging scripts to produce LTS packages in addition to regular packages when the minor version is even.
PR Context
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.