use --long for describe in setup.py-stubs

This commit is contained in:
Dan Halbert 2022-02-18 21:22:02 -05:00
parent 291a33521e
commit 7107692678
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ setup(
"root": "..",
"relative_to": __file__,
"local_scheme": local_scheme,
"git_describe_command": "tools/describe",
"git_describe_command": "tools/describe --long",
},
zip_safe=False,
)

View File

@ -1,2 +1,3 @@
#!/bin/sh
git describe --first-parent --dirty --tags --always --match "[1-9].*"
# Add any supplied arguments.
git describe --first-parent --dirty --tags --always --match "[1-9].*" "$@"