Skip to content
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

[Feature]: Application Win32OpenSSH does not return MSI installers only zip files #505

Closed
2 tasks
BronsonMagnan opened this issue Jun 29, 2023 · 0 comments
Closed
2 tasks
Labels
enhancement New feature or request

Comments

@BronsonMagnan
Copy link
Contributor

BronsonMagnan commented Jun 29, 2023

What is your feature request?

FindEvergreenApp Win32OpenSSH | Get-EvergreenApp | Where-Object {$_.Architecture -eq "x64"}
only returns zip, but msi is available
Current MSI download example:
"https://github.com/PowerShell/Win32-OpenSSH/releases/download/v9.2.2.0p1-Beta/OpenSSH-Win64-v9.2.2.0.msi" | % { $file= Split-Path -Path $_ -Leaf $version = [VERSION]$file.replace(".msi","").replace("OpenSSH-Win64-v","") $version.tostring() $path = "W:\Evergreen\Win32OpenSSH\$($version.tostring())" if (-not (Test-Path -Path $path -ErrorAction SilentlyContinue)) { New-Item -Path $path -Force -ItemType Directory | Out-Null } $fullpath = Join-Path -Path $path -ChildPath $file if (-not (Test-Path -Path $fullpath -ErrorAction SilentlyContinue)) { curl -UseBasicParsing -Uri $_ -OutFile $fullpath -Verbose } Unblock-File -Path $fullpath }
Please also retrieve the MSI installers

Have you tested against the current version?

  • Yes, I've updated Evergreen and tested against the current version.

Have you reviewed the documentation?

@BronsonMagnan BronsonMagnan added the enhancement New feature or request label Jun 29, 2023
aaronparker added a commit that referenced this issue Jun 30, 2023
@aaronparker aaronparker mentioned this issue Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants