Hi,
This post would be classified as a "Problem" under this "Problems, Bugs and Feedback" section. I am creating a new server on my Linux server and I wish to keep the server automatically updated. My current problem is that there is no way to directly see what the latest released server version is. I have three options here:
Scrape the raw file of https://github.com/OpenRCT2/OpenRCT2/blob/6cdcda2c653a3e1ba1ff230128bbd36788c3dbc8/src/openrct2/Version.h and https://github.com/OpenRCT2/OpenRCT2/blob/5284b6754637746ced392dad961343030aabc3d0/src/openrct2/network/Network.cpp and find out the latest version through that. The problem with that is that I wouldn't know if the latest download was actually released on https://openrct2.org/downloads and I wouldn't want to compile it myself if it'll take a couple of minutes or hours before the latest download is released to the public.
Additionally (I haven't tested if the launcher works for a server myself yet) but I could potentially use the launcher to update the server. The problem with this is:
I don't even know if you can use the launcher to run a server.
Even if the launcher were to update the game itself automatically, I would still have no way of knowing to restart the server.
Lastly, I originally planned on checking https://openrct2.org/downloads periodically but then I found this link: https://openrct2.org/altapi/?command=get-latest-download&flavourId=7&gitBranch=develop which does the same thing. Again, the problem with this is that I'll be able to know when the latest update comes out, but, if it's just a client update I'm not interested in it (since you guys update multiple times a day (which is actually really nice)).
I don't know what I can do here. If someone could link me to a way of strictly finding the latest server version and not the client version (something that would be through altapi or similar would be nice) I would appreciate it. Thanks.
If this doesn't work out then I guess I will have to keep track of the version number in bullet #1 and check if it changed every time bullet #3 changes.