Help for github installer (Shattered Pixel Dungeon)

Hello

Is there a way to have the last version of a file, based on its name in github ?

Shattered Pixel Dungeon has a unique file to download, but the name contains the version.

For example, the link for the 3.0.2 is https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/v3.0.2/ShatteredPD-v3.0.2-Java.jar

I know I can use “latest” instead of the tag name to get the latest release, but the name itself is also variable. Is there a way to get it without using an external service ? I don’t want to code and maintain a script to do so, and I don’t update regularly the installer… I do it when I want to play it, so, not so often…