a small demo on how you could use the GitHub release API to provide metadata around versions
A release.json
file lives on the release page for v1.0.0. This file can be modified at any time by the repo administrator to deprecate versions (potentially to show warning messages in supportive tooling).
A one-liner to get this deprecation info:
$ curl -sSL https://github.com/EverlastingBugstopper/release-api/releases/download/v1.0.0/release.json | jq .deprecated
false
You could extend this to include other fields or metadata information.