mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +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='')
|
||||
|
||||
# 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='')
|
||||
|
@ -21,9 +21,9 @@
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>vnote</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.10.0</string>
|
||||
<string>3.10.1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3.10.0.1</string>
|
||||
<string>3.10.1.1</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Created by VNoteX</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
|
Loading…
x
Reference in New Issue
Block a user