Support linking to the latest build on a specific branch

It would be nice if I could link to something like, and have that automatically redirect to the latest build on branch.

I’m mainly wanting to use this for my CI badges, as otherwise users are just shown builds for all branches instead.