Compare version or tag when installing