Skip to content

Commit

Permalink
use --long for describe in setup.py-stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalbert committed Feb 19, 2022
1 parent 291a335 commit 7107692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py-stubs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
3 changes: 2 additions & 1 deletion tools/describe
Original file line number Diff line number Diff line change
@@ -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].*" "$@"

0 comments on commit 7107692

Please sign in to comment.