borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.15k stars 742 forks source link

"Latest" Link for download #5785

Open Daniel-Nashed opened 3 years ago

Daniel-Nashed commented 3 years ago

For platforms like CentOS where Borg Backup is included in the epel-release, installation is easy.
But right now I am looking into a VMware Photon OS Docker image.

There is a https://github.com/borgbackup/borg/releases/latest to find the latest release.

But I don't find a latest link for download. The page references the latest download like this:

https://github.com/borgbackup/borg/releases/download/1.1.16/borg-linux64

Having a "latest" link for download would always get the latest version when downloading via wget/curl.

https://github.com/borgbackup/borg/releases/download/latest/borg-linux64

Maybe there is already another way I missed?

Thanks for any help and keep going! Borg Backup is awesome! I just integrated it into our HCL Domino community image (which by default uses CentOS 8)

Daniel

ThomasWaldmann commented 3 years ago

I am not even sure that releases/latest always points to the latest stable release (it could also point to the latest release, even if that is a beta release).

Guess that needs to be done manually.

Also: there might be a 1.2.0 stable release at some time in the future and I guess you would not want your script automatically fetching that and upgrading existing 1.1.x installs to that.