mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 06:19:52 +08:00
fix update_version.py
This commit is contained in:
parent
14c54ab275
commit
54576543e9
@ -20,10 +20,10 @@ for line in fileinput.input(['.github/workflows/ci-win.yml', '.github/workflows/
|
|||||||
print(regExp.sub('\\1VNOTE_VER: ' + newVersion, line), end='')
|
print(regExp.sub('\\1VNOTE_VER: ' + newVersion, line), end='')
|
||||||
|
|
||||||
# Info.plist
|
# 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):
|
for line in fileinput.input(['src/data/core/Info.plist'], inplace = True):
|
||||||
print(regExp.sub('\\1<string>' + newVersion + '</string>', line), end='')
|
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):
|
for line in fileinput.input(['src/data/core/Info.plist'], inplace = True):
|
||||||
print(regExp.sub('\\1<string>' + newVersion + '.1</string>', line), end='')
|
print(regExp.sub('\\1<string>' + newVersion + '.1</string>', line), end='')
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>vnote</string>
|
<string>vnote</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>3.10.0</string>
|
<string>3.10.1</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>3.10.0.1</string>
|
<string>3.10.1.1</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
<string>Created by VNoteX</string>
|
<string>Created by VNoteX</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user