Add version constraints to the metadata file