support tags and recreate version if it exists