Win32-OpenSSH icon indicating copy to clipboard operation
Win32-OpenSSH copied to clipboard

Make deep links to latest *.msi release files possible by removing the version from the filename

Open countzero opened this issue 2 years ago • 0 comments
trafficstars

Summary of the new feature / enhancement

As a developer, I want to directly link the Windows Installer File (MSI) of the latest Win32-OpenSSH release, so that I can simplify update instructions and automation.

This is currently not possible due to the filename that contains the specific version.

I suggest removing the version number from the filename, so that OpenSSH-Win64-v9.4.0.0.msi becomes OpenSSH-Win64.msi and therefore the following deep link will always resolve the latest installer:

  • https://github.com/PowerShell/Win32-OpenSSH/releases/latest/download/OpenSSH-Win64.msi

Only the MSI filenames need to change. The other files can be reached like:

  • https://github.com/PowerShell/Win32-OpenSSH/releases/latest/download/OpenSSH-Win64.zip

Proposed technical implementation details (optional)

See also: https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases

countzero avatar Nov 15 '23 13:11 countzero