Use set_metadata in releasetools.