Skip to content

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

Merged
merged 6 commits into from
Feb 5, 2020

Conversation

adityapatwardhan
Copy link
Member

@adityapatwardhan adityapatwardhan commented Feb 4, 2020

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

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
@@ -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" }
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

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

refactored to a function

@TravisEz13
Copy link
Member

@PoshChan Please remind me in 1 hour

@TravisEz13 TravisEz13 merged commit bb021a9 into PowerShell:master Feb 5, 2020
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 5, 2020
@adityapatwardhan adityapatwardhan deleted the LTSpacaking branch February 5, 2020 00:49
@PoshChan
Copy link
Collaborator

PoshChan commented Feb 5, 2020

@TravisEz13, this is the reminder you requested 1 hour ago

@TravisEz13 TravisEz13 modified the milestones: GA-consider, GA-approved, 7.0.0 Feb 7, 2020
adityapatwardhan added a commit to adityapatwardhan/PowerShell that referenced this pull request Feb 18, 2020
@ghost
Copy link

ghost commented Feb 21, 2020

🎉v7.0.0-rc.3 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants