mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-06 05:55:28 +08:00
fix(config): update app upgrade segments and include new gateway version
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
}
|
||||
},
|
||||
"enabled": true,
|
||||
"includes": ["**/*.json", "!**/package.json", "!coverage/**"]
|
||||
"includes": ["**/*.json", "!**/package.json", "!coverage/**", "!config/app-upgrade-segments.json"]
|
||||
},
|
||||
"css": {
|
||||
"formatter": {
|
||||
|
||||
@@ -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}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user