Include tag distance and commit hash in dev versions when possible (#5664)

* Include tag distance and commit hash in dev versions when possible

* Fix test
This commit is contained in:
jack1142
2022-04-03 03:51:34 +02:00
committed by GitHub
parent febca8ccbb
commit 35f1681dc1
6 changed files with 80 additions and 11 deletions

View File

@@ -20,6 +20,10 @@ version_tests = (
"3.0.0rc1.dev1",
"3.0.0rc1",
"3.0.0",
"3.0.1.dev1",
"3.0.1.dev2+gdbaf31e",
"3.0.1.dev2+gdbaf31e.dirty",
"3.0.1.dev3+gae98d77",
"3.0.1",
"3.0.1.post1.dev1",
"3.0.1.post1",