|
@@ -20,10 +20,10 @@ for line in fileinput.input(['.github/workflows/ci-win.yml', '.github/workflows/
|
|
|
print(regExp.sub('\\1VNOTE_VER: ' + newVersion, line), end='')
|
|
|
|
|
|
# Info.plist
|
|
|
-regExp = re.compile('(\\s+)<string>\\d\\.\\d\\.\\d</string>')
|
|
|
+regExp = re.compile('(\\s+)<string>\\d+\\.\\d+\\.\\d+</string>')
|
|
|
for line in fileinput.input(['src/data/core/Info.plist'], inplace = True):
|
|
|
print(regExp.sub('\\1<string>' + newVersion + '</string>', line), end='')
|
|
|
|
|
|
-regExp = re.compile('(\\s+)<string>\\d\\.\\d\\.\\d\\.\\d</string>')
|
|
|
+regExp = re.compile('(\\s+)<string>\\d+\\.\\d+\\.\\d+\\.\\d+</string>')
|
|
|
for line in fileinput.input(['src/data/core/Info.plist'], inplace = True):
|
|
|
print(regExp.sub('\\1<string>' + newVersion + '.1</string>', line), end='')
|