You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using something like docker which benefits from a compose file that can automatically generate a server, constant stable download links to the latest version of a mod are a must. Github has integrated a link to the latest release of a project but it requires the release to have no version number as the file must have the same name in this link.
Should this be implemented, this link would always download the latest version of fabric API no matter what.
The text was updated successfully, but these errors were encountered:
YogoPig
changed the title
Auto-updating link prevention via specific jar names
Auto-updating link prevention via version-numbered jar names
Aug 15, 2024
I dont think automatically downloading the latest version is a good idea tbh, as sometimes we release backports for older versions of minecraft that would become the latest, or even just timing wise between normal releses.
If you are using something like docker which benefits from a compose file that can automatically generate a server, constant stable download links to the latest version of a mod are a must. Github has integrated a link to the latest release of a project but it requires the release to have no version number as the file must have the same name in this link.
For example the current latest download link is: https://github.com/FabricMC/fabric/releases/latest/download/fabric-api-0.102.1+1.21.1.jar
However, when the version changes this will break.
To fix this, naming the jar "fabric-api.jar" would allow for the link to stay the same, and always download the latest version. This link would be: https://github.com/FabricMC/fabric/releases/latest/download/fabric-api.jar
Should this be implemented, this link would always download the latest version of fabric API no matter what.
The text was updated successfully, but these errors were encountered: