pusher / cli

A CLI for Pusher (beta)
51 stars 6 forks source link

Provide links to 'latest' versions #25

Open rickmills opened 6 years ago

rickmills commented 6 years ago

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

jameshfisher commented 6 years ago

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?

rickmills commented 6 years ago

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