replace version if this is a tag