cli icon indicating copy to clipboard operation
cli copied to clipboard

Provide links to 'latest' versions

Open rickmills opened this issue 7 years ago • 2 comments

Is there a way you can provide a permanent link to the latest release files like many other places do.

For automated installs having to hard code a version can be annoying in some situations.

So instead of hard coding https://github.com/pusher/cli/releases/download/v0.12/pusher_0.12_linux_amd64.deb

have something like https://dl.pusher.com/pusher/cli/releases/download/latest/pusher_latest_linux_amd64.deb

rickmills avatar Feb 07 '18 11:02 rickmills

Hi! Good question. I can see GitHub provides a "latest" link https://github.com/pusher/cli/releases/latest which redirects to the web view for the latest release, but that's not really appropriate for your use case.

Since your example is for the deb file, I suspect it would help if we were to get the package into Debian and/or an Ubuntu PPA. @rickmills would these help your use case?

jameshfisher avatar Feb 12 '18 11:02 jameshfisher

Oh I never even thought of that, being available that way would certainly make the package easier to work with!

rickmills avatar Feb 12 '18 23:02 rickmills