Release tracking wired into the CI you already use.
Recent revisions are kept. Restoring one creates a new revision.