Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
femnad committed Dec 23, 2023
1 parent 5dedc90 commit e5843a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def release(version: str):

def tag_and_release():
version = get_current_version()
tags = sh('git tag').split('\n')
print(tags)
versions = set(tags) if tags else set()
tags = sh('git tag')
tags_list = tags.split('\n') if tags else []
versions = set(tags_list) if tags_list else set()
print(versions)
if version in versions:
return
Expand Down

0 comments on commit e5843a3

Please sign in to comment.