LPS-37702 Reverting a verions does not remove assets and assets can be removed without updating the version. So, assets should not increment the version.
LPS-37702 Fix metadata check always returning false when publishing.
LPS-37702 Fix metadata fields being backported instead of reverting to the previous version.
LPS-37702 Fix ConstraintViolationException thrown when publishing with no changes twice.
LPS-37702 Simplify the method.
LPS-37702 Sort.
LPS-37702 SF
LPS-37702 Rename vars
LPS-37702 Made && and || more clear?
LPS-37702 Simplify metadata check