Skip to content

Commit

Permalink
Update check_output() call in tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
beeankha committed Nov 14, 2024
1 parent 41856b5 commit a0fb7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ jobs:
# to override the version with a derivative of the branch name
# override the version if `git describe --tag` does not start with the branch version
last_release = check_output(["git", "describe", "--tag"])
last_release = check_output(["git", "describe", "--tag"], text=True).strip()
prefix = "${{ github.ref_name }}"[:-1] # without x suffix
if not last_release.startswith(prefix):
envs["VERSION_OVERRIDE"] = "${{ github.ref_name }}"
Expand Down

0 comments on commit a0fb7b9

Please sign in to comment.