summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-01 20:07:47 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-01 20:07:47 -0500
commit9a96c37896b375148af34c65abbc5fa8b9a2169a (patch)
tree45f1ecf88388e9b516c78c14f0099d92ee98995b /build
parent60a168d066d5d81c506938ec1540790e7038a5d7 (diff)
downloadaura-central-9a96c37896b375148af34c65abbc5fa8b9a2169a.tar.gz
Make version2k aware of .1 build numbers
Diffstat (limited to 'build')
-rw-r--r--build/version2k.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/version2k.py b/build/version2k.py
index 7e2e3f30b..6ef5609c2 100644
--- a/build/version2k.py
+++ b/build/version2k.py
@@ -27,8 +27,8 @@ if args.version:
if (strVersion.endswith('.0000')):
strVersion = strVersion.replace('.0000', '.' + msBuildToday + 'a1')
- if len(args.version) == 2 and args.version[1] == 'build':
- if strVersion.endswith('a1'):
+ if len(args.version) == 2 and args.version[1] == 'build':
+ if strVersion.endswith(('a1', '.1')):
print strVersion[len(strVersion) - 6:]
else:
print strVersion[len(strVersion) - 4:]