enable proper git tag sorting in cython/setup.py for versioning
This commit is contained in:
parent
601613b6c4
commit
b51b63dedc
@ -5,7 +5,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
print("building on platform: "+sys.platform)
|
print("building on platform: "+sys.platform)
|
||||||
os.system("git tag > gittags.log")
|
os.system("git tag -l --sort=version:refname > gittags.log")
|
||||||
with open ("gittags.log","r") as gt:
|
with open ("gittags.log","r") as gt:
|
||||||
taglst = gt.readlines()
|
taglst = gt.readlines()
|
||||||
os.remove("gittags.log")
|
os.remove("gittags.log")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user