diff --git a/.github/hub/update_hub_repositories.py b/.github/hub/update_hub_repositories.py index c923583ba7f..43b9b671cf7 100644 --- a/.github/hub/update_hub_repositories.py +++ b/.github/hub/update_hub_repositories.py @@ -194,13 +194,8 @@ def __call__(self, dataset_name: str) -> bool: commit_args += (f"-m Commit from {DATASETS_LIB_COMMIT_URL.format(hexsha=current_commit.hexsha)}",) commit_args += (f"--author={author_name} <{author_email}>",) - for _tag in datasets_lib_repo.tags: - # Add a new tag if this is a `datasets` release - if _tag.commit == current_commit and re.match(r"^[0-9]+\.[0-9]+\.[0-9]+$", _tag.name): - new_tag = _tag - break - else: - new_tag = None + # we don't add a new tag as we used to when there's a release + new_tag = None changed_files_since_last_commit = [ path