There should be a check to make sure there are no unwanted links to the online version in the output HTML (so things like the broken release v20180527 can't happen again).
The Makefile already has a check target, which would probably be the place to add this to.