Xcode versioning complete
This commit is contained in:
@@ -8,7 +8,7 @@ branch = check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"]).rstrip().dec
|
||||
shorthash = check_output(["git", "log", "--pretty=format:%h", "-n 1"]).rstrip().decode("utf-8")
|
||||
revcount = int(check_output(["git", "rev-list", "--count", "HEAD"]))
|
||||
tag = check_output(["git", "describe", "--tags", "--abbrev=0"]).rstrip().decode("utf-8")
|
||||
config = sys.argv[1]
|
||||
config = sys.argv[1].lower()
|
||||
|
||||
version = "%s.%d (%s-%s-%s)" % (tag, revcount, shorthash, branch, config)
|
||||
version_number = "%s.%d" % (tag, revcount)
|
||||
|
||||
Reference in New Issue
Block a user