Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/hub/update_hub_repositories.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down