Skip to content

Commit

Permalink
Fetch remote before checking tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ezwelty committed Aug 12, 2024
1 parent f5dd5de commit 8be1932
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zenodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ def is_repo_publishable() -> Tuple[str, str]:
'Frictionless tests failed. Publishing requires passing tests.'
)
# Tag is not already in use
REPO.remotes['origin'].fetch()
tag = 'v' + glenglat.read_metadata()['version']
existing_tags = [repo_tag for repo_tag in REPO.tags if repo_tag.name == tag]
if existing_tags:
Expand Down

0 comments on commit 8be1932

Please sign in to comment.