fix(config): update app upgrade segments and include new gateway version

This commit is contained in:
kangfenmao
2026-03-19 18:20:56 +08:00
parent 62c1eb28ce
commit 812423644d
2 changed files with 9 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
}
},
"enabled": true,
"includes": ["**/*.json", "!**/package.json", "!coverage/**"]
"includes": ["**/*.json", "!**/package.json", "!coverage/**", "!config/app-upgrade-segments.json"]
},
"css": {
"formatter": {

View File

@@ -1,14 +1,14 @@
{
"segments": [
{
"id": "legacy-v1-locked",
"id": "gateway-v1.8.1",
"type": "legacy",
"match": {
"range": ">=1.0.0 <1.8.1"
"exact": ["1.8.1"]
},
"lockedVersion": "1.8.1",
"minCompatibleVersion": "1.0.0",
"description": "Gateway version for users below v1.8.1 - locked to v1.8.1",
"description": "Gateway version - all users below v1.8.1 must upgrade to v1.8.1 first",
"channelTemplates": {
"latest": {
"feedTemplates": {
@@ -22,6 +22,7 @@
"id": "current-v1",
"type": "latest",
"match": {
"excludeExact": ["1.8.1"],
"range": ">=1.8.1 <2.0.0"
},
"minCompatibleVersion": "1.8.1",
@@ -69,8 +70,8 @@
"id": "current-v2",
"type": "latest",
"match": {
"range": ">=2.0.0 <3.0.0",
"excludeExact": ["2.0.0"]
"excludeExact": ["2.0.0"],
"range": ">=2.0.0 <3.0.0"
},
"minCompatibleVersion": "2.0.0",
"description": "Current latest v2.x release",
@@ -84,13 +85,13 @@
"rc": {
"feedTemplates": {
"github": "https://github.com/CherryHQ/cherry-studio/releases/download/{{tag}}",
"gitcode": "https://gitcode.com/CherryHQ/cherry-studio/releases/download/{{tag}}"
"gitcode": "https://github.com/CherryHQ/cherry-studio/releases/download/{{tag}}"
}
},
"beta": {
"feedTemplates": {
"github": "https://github.com/CherryHQ/cherry-studio/releases/download/{{tag}}",
"gitcode": "https://gitcode.com/CherryHQ/cherry-studio/releases/download/{{tag}}"
"gitcode": "https://github.com/CherryHQ/cherry-studio/releases/download/{{tag}}"
}
}
}