RE-SS3D / SS3D-WebsiteOLD

Old website for Space Station 3D.
https://ss3d.space/
3 stars 9 forks source link

Automate Latest Download Link #102

Open cosmiccoincidence opened 1 year ago

cosmiccoincidence commented 1 year ago

Summary

Currently the latest download link uses a variable on the downloads page (download.md) to determine what version number is the latest. This variable needs to be updated manually currently for the website's download link to be updated after a new release.

It would be nice to automate this so that developers don't need to push a single line to the website repo each time a release is made.

https://github.com/USER/PROJECT/releases/latest/download/build.zip wont work for us because the name of our build changes each time because it has a version number in it.

Solutions

A. Remove the version number from the build name. (I do not prefer this solution)

B. Find/create a link like the one above but will work despite the file name changing from release to release.

C. Automate a process to read the current game version and update it on the download page here on the website repo.