Skip to content

Commit 7107692

Browse files
committed
use --long for describe in setup.py-stubs
1 parent 291a335 commit 7107692

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

setup.py-stubs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ setup(
4343
"root": "..",
4444
"relative_to": __file__,
4545
"local_scheme": local_scheme,
46-
"git_describe_command": "tools/describe",
46+
"git_describe_command": "tools/describe --long",
4747
},
4848
zip_safe=False,
4949
)

tools/describe

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/sh
2-
git describe --first-parent --dirty --tags --always --match "[1-9].*"
2+
# Add any supplied arguments.
3+
git describe --first-parent --dirty --tags --always --match "[1-9].*" "$@"

0 commit comments

Comments
 (0)