Repository navigation
Fix MSIX packaging to determine if a Preview release by inspecting the semantic version string - #11991
Conversation
…e semantic version string
| @@ -3049,7 +3049,7 @@ function New-MSIXPackage | |||
|
|
|||
There was a problem hiding this comment.
Steve Lee (@SteveL-MSFT), your last commit had 1 failures in PowerShell-CI-static-analysis
Verify Markdown Links.Verify links in /home/vsts/work/1/s/ADOPTERS.md.https://shell.azure.com/ should work
Failed to complete request to "https://shell.azure.com/". Response status code does not indicate success: 500 (Internal Server Error).
at <ScriptBlock>, /home/vsts/work/1/s/test/common/markdown/markdown-link.tests.ps1: line 119
119: throw "Failed to complete request to `"$url`". $($_.Exception.Message)"
|
PoshChan-Bot (@PoshChan) please retry static, macos |
|
Aditya Patwardhan (@adityapatwardhan), successfully started retry of |
|
PoshChan-Bot (@PoshChan) retry static |
|
Steve Lee (@SteveL-MSFT), successfully started retry of |
|
PoshChan-Bot (@PoshChan) retry static |
|
Steve Lee (@SteveL-MSFT), successfully started retry of |
|
🎉 Handy links: |
…e semantic version string (#11991)
|
🎉 Handy links: |
…e semantic version string (PowerShell#11991)
PR Summary
The non-Preview release still gets a Product Name of "PowerShell Preview" because the code was looking to see if the
$productnamecontains a-. Since the version is added after the product name, it will always have a-such aspowershell-7.0.0. The fix is to only look for the-within the semantic version string like7.0.0-rc.1.PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.