naa
This commit is contained in:
parent
2afdabfd63
commit
de340e5134
@ -51,9 +51,9 @@ def get_env_info() -> dict[str, str]:
|
||||
env_info["message"] = message.stdout.strip()
|
||||
# git tag
|
||||
if ON_CF:
|
||||
tag = "cf_pages" or run(
|
||||
tag = run(
|
||||
["git", "describe", "--tags"], capture_output=True, text=True, encoding="utf-8"
|
||||
).stdout.split("-")[0]
|
||||
).stdout.split("-")[0] or "cf_pages"
|
||||
else:
|
||||
tag = run(
|
||||
["git", "describe", "--tags"], capture_output=True, text=True, encoding="utf-8"
|
||||
|
Loading…
Reference in New Issue
Block a user