diff --git a/biome.jsonc b/biome.jsonc index 6bee38a64e..65bd6914bb 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -14,7 +14,7 @@ } }, "enabled": true, - "includes": ["**/*.json", "!**/package.json", "!coverage/**"] + "includes": ["**/*.json", "!**/package.json", "!coverage/**", "!config/app-upgrade-segments.json"] }, "css": { "formatter": { diff --git a/config/app-upgrade-segments.json b/config/app-upgrade-segments.json index 3eab6fa89c..3230e56fc7 100644 --- a/config/app-upgrade-segments.json +++ b/config/app-upgrade-segments.json @@ -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}}" } } }