Get your macOS app signed and notarized.
Recent revisions are kept. Restoring one creates a new revision.