Skip to content

Commit d376c7c

Browse files
committed
chore: use lightweight tags in git describe
Needed for Release Please release automation
1 parent b45fc76 commit d376c7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflow/rules/common.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_repo_version(base_dir: str, default: str, warn=False) -> str:
2929
"""
3030
try:
3131
last_tag_description = subprocess.check_output(
32-
f"git --git-dir={base_dir}/.git describe --always",
32+
f"git --git-dir={base_dir}/.git describe --tags --always",
3333
shell=True,
3434
stderr=subprocess.DEVNULL
3535
).strip().decode("utf-8")

0 commit comments

Comments
 (0)