Fix release.py

master^2
MrSimbax 2019-02-23 20:01:21 +01:00
parent 46098834a1
commit 7d99aa954b
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ codename = None
data = open('CMakeLists.txt', 'r').readlines()
for i in range(len(data)):
m = re.match(r'^set\(COLOBOT_VERSION_(MAJOR|MINOR|REVISION)( +)([0-9]+)\)$', data[i])
m = re.match(r'^set\(COLOBOT_VERSION_(MAJOR|MINOR|REVISION)( +)([0-9]+(\.[0-9]+)?)\)$', data[i])
if m:
x = m.group(3)
if m.group(1) == 'MAJOR':