Fall through latest release file download when missing?

I want to distribute a link that always points to the latest version of my program’s manual.
Because it is a PDF, I don’t want to put it in the repository itself, but attach it as a file to the newest release, like so:


Fortunately, GitHub allows to link to the latest release, like so:

However let’s say the manual didn’t change when going from release 0.2 to 0.3, so I didn’t attach it to 0.3.
Now https://github.com/myaccount/myrepo/releases/latest/download/manual.pdf returns a “not found” error.

Is there any way to let GitHub “fall through” the latest releases from future to past sort order, taking the first one that actually exists?

If yes, how so? If no, what are my alternatives?

Hi @KonradHoeffner I can see how this would be useful.

We’re always working to improve GitHub, and we consider every suggestion we receive, so perhaps you’d like to submit a feature request through our official product feedback form so that our product team can see exactly how you’d like GitHub to work?