Skip to content

Commit

Permalink
testing1
Browse files Browse the repository at this point in the history
  • Loading branch information
jwk404 committed Mar 6, 2024
1 parent 5e72921 commit ca596ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/read-version
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def get_version_from_git(
"describe",
branch_name,
"--abbrev=8",
"--tags",
] + flags

try:
Expand All @@ -101,7 +102,7 @@ def get_version_from_git(
else:
version = src_version
version_long = ""
return version, version_long
return os.path.basename(version), os.path.basename(version_long)


def main(use_tags: bool = False, output_json: bool = False):
Expand Down

0 comments on commit ca596ff

Please sign in to comment.