Skip to content

Commit

Permalink
fix: forked repo can not get version since tag is not synced (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 authored Oct 12, 2024
1 parent 097e86d commit 2b897aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/version/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def touch(path):

def get_latest_git_tag() -> str:
result = subprocess.run(
["git", "describe", "--tags", "--abbrev=0"],
["git", "describe", "--tags", "--abbrev=0", "--always"],
capture_output=True,
text=True,
)
Expand Down

0 comments on commit 2b897aa

Please sign in to comment.