Hi,
I am wondering if there is a direct download link (i.e. a link that I can wget) that leads to the latest Syncthing release.
It will be useful for stuff like automated deployments and custom setup scripts.
Thanks for reading
Hi,
I am wondering if there is a direct download link (i.e. a link that I can wget) that leads to the latest Syncthing release.
It will be useful for stuff like automated deployments and custom setup scripts.
Thanks for reading
There isn’t, currently, since the downloads are serviced by Github (S3). One needs to parse the Github API output to get at the link. Syncthing does this though, in the internal/upgrade
package if you’re looking for inspiration. It’s possible we’ll move away from Github downloads at some point, for this reason and others.
Here’s an example (in get_release()) of using the Github API to return the latest release number. You can use that to create a download link similar to:
Scott