- Notifications
You must be signed in to change notification settings - Fork7.7k
Update metadata.json#24764
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Update metadata.json#24764
Uh oh!
There was an error while loading.Please reload this page.
Conversation
/azp run PowerShell-CI-macos |
/azp run PowerShell-CI-linux |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PowerShell-CI-windows |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PowerShell-static-analysis |
No pipelines are associated with this pull request. |
/azp run PowerShell-Windows-Packaging-CI |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run PSResourceGet ACR |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PowerShell-CI-static-analysis |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PowerShell-CI-linux |
/azp run PowerShell-CI-macos |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PowerShell-CI-windows |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PSResourceGet ACR |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PowerShell-CI-static-analysis |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PowerShell-Windows-Packaging-CI |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run PowerShell-CI-linux |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PowerShell-CI-linux |
Azure Pipelines successfully started running 1 pipeline(s). |
a69452e
intomasterUh oh!
There was an error while loading.Please reload this page.
microsoft-github-policy-servicebot commentedJan 14, 2025 • edited by unfurl-linksbot
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by unfurl-linksbot
Uh oh!
There was an error while loading.Please reload this page.
📣 Hey@jshigetomi, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗https://aka.ms/PSRepoFeedback |
mjcheetham commentedJan 14, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@jshigetomi, since the PR was merged the "https://aka.ms/install-powershell.ps1" script fails when run on a Windows ARM64 machine with the following arguments: $installScript="$env:TEMP\install-powershell.ps1"Invoke-WebRequest-Uri"https://aka.ms/install-powershell.ps1"-OutFile$installScript&$installScript-AddToPath An exception is thrown saying the following URL is 404-ing:
Comes from line 374 in the script: $metadata=Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.jsonif ($Preview) {$release=$metadata.PreviewReleaseTag-replace'^v' }else {$release=$metadata.ReleaseTag-replace'^v' }if ($IsWinEnv) {if ($UseMSI) {$packageName="PowerShell-${release}-win-${architecture}.msi" }else {$packageName="PowerShell-${release}-win-${architecture}.zip" } }elseif ($IsLinuxEnv) {$packageName="powershell-${release}-linux-${architecture}.tar.gz" }elseif ($IsMacOSEnv) {$packageName="powershell-${release}-osx-${architecture}.tar.gz" }$downloadURL="https://github.com/PowerShell/PowerShell/releases/download/v${release}/${packageName}"Write-Verbose"About to download package from '$downloadURL'"-Verbose$packagePath=Join-Path-Path$tempDir-ChildPath$packageNameif (!$PSVersionTable.ContainsKey('PSEdition')-or$PSVersionTable.PSEdition-eq"Desktop") {# On Windows PowerShell, progress can make the download significantly slower$oldProgressPreference=$ProgressPreference$ProgressPreference="SilentlyContinue" }try {****Invoke-WebRequest-Uri$downloadURL-OutFile$packagePath**** }finally {if (!$PSVersionTable.ContainsKey('PSEdition')-or$PSVersionTable.PSEdition-eq"Desktop") {$ProgressPreference=$oldProgressPreference } } |
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
This pull request updates the release tags in the
tools/metadata.json
file to reflect the latest versions.Release tag updates:
PreviewReleaseTag
fromv7.5.0-rc.1
tov7.6.0-preview.2
.ReleaseTag
fromv7.4.6
tov7.6.0-preview.2
.NextReleaseTag
fromv7.5.0-preview.6
tov7.6.0-preview.3
.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.- [ ] Issue filed:
(which runs in a different PS Host).