mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-04 21:39:52 +08:00
release v3.18.2
This commit is contained in:
parent
5da9268aa7
commit
5e4a6fa72a
2
.github/workflows/ci-linux.yml
vendored
2
.github/workflows/ci-linux.yml
vendored
@ -16,7 +16,7 @@ on:
|
||||
default: false
|
||||
|
||||
env:
|
||||
VNOTE_VER: 3.18.1
|
||||
VNOTE_VER: 3.18.2
|
||||
CMAKE_VER: 3.24.3
|
||||
|
||||
jobs:
|
||||
|
2
.github/workflows/ci-macos.yml
vendored
2
.github/workflows/ci-macos.yml
vendored
@ -16,7 +16,7 @@ on:
|
||||
default: false
|
||||
|
||||
env:
|
||||
VNOTE_VER: 3.18.1
|
||||
VNOTE_VER: 3.18.2
|
||||
CMAKE_VER: 3.24.3
|
||||
|
||||
jobs:
|
||||
|
2
.github/workflows/ci-win.yml
vendored
2
.github/workflows/ci-win.yml
vendored
@ -16,7 +16,7 @@ on:
|
||||
default: false
|
||||
|
||||
env:
|
||||
VNOTE_VER: 3.18.1
|
||||
VNOTE_VER: 3.18.2
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 3.20)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "12.1" CACHE STRING "Minimum OS X deployment version")
|
||||
|
||||
project(VNote
|
||||
VERSION 3.18.1
|
||||
VERSION 3.18.2
|
||||
DESCRIPTION "A pleasant note-taking platform"
|
||||
HOMEPAGE_URL "https://app.vnote.fun"
|
||||
LANGUAGES C CXX)
|
||||
|
@ -7,6 +7,7 @@ if len(sys.argv) < 2:
|
||||
exit
|
||||
|
||||
newVersion = sys.argv[1]
|
||||
shortVersion = re.match('^(\\d+\\.\\d+).', newVersion).group(1)
|
||||
print("New version: {0}".format(newVersion))
|
||||
|
||||
# CMakeList
|
||||
@ -25,6 +26,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>(?!12\\.1)\\d+\\.\\d+</string>')
|
||||
for line in fileinput.input(['src/data/core/Info.plist'], inplace = True):
|
||||
print(regExp.sub('\\1<string>' + shortVersion + '</string>', line), end='')
|
||||
|
||||
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='')
|
||||
|
@ -25,9 +25,9 @@
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>vnote</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.17</string>
|
||||
<string>3.18</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3.18.1</string>
|
||||
<string>3.18.2</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Distributed under LGPL-3.0 license. Copyright (c) 2024 app.vnote.fun</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"metadata" : {
|
||||
"//comment": "When releasing new version, please go through the following configs to check if override is needed.",
|
||||
"//Comment": "markdown_editor#override_viewer_resource",
|
||||
"version" : "3.18.1"
|
||||
"version" : "3.18.2"
|
||||
},
|
||||
"core" : {
|
||||
"theme" : "pure",
|
||||
|
Loading…
x
Reference in New Issue
Block a user