use --long for describe in setup.py-stubs
This commit is contained in:
parent
291a33521e
commit
7107692678
@ -43,7 +43,7 @@ setup(
|
|||||||
"root": "..",
|
"root": "..",
|
||||||
"relative_to": __file__,
|
"relative_to": __file__,
|
||||||
"local_scheme": local_scheme,
|
"local_scheme": local_scheme,
|
||||||
"git_describe_command": "tools/describe",
|
"git_describe_command": "tools/describe --long",
|
||||||
},
|
},
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
)
|
)
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/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].*" "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user