Merge pull request #6064 from dhalbert/7.2.x-tools-describe-long

use --long for describe in setup.py-stubs
This commit is contained in:
Dan Halbert 2022-02-20 12:49:26 -05:00 committed by GitHub
commit b3f06688d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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].*" "$@"