chore(release): 弃用 Gitea 渠道,GitHub 发布历史自 v1.0.0 独立开始

- 删除 mirror-gitea job 与 scripts/publish-gitea.*(不再向 Gitea 镜像,
  不管旧版本兼容)
- update/mod.rs 与 README 同步:Gitea 标记为历史渠道已弃用
This commit is contained in:
2026-09-30 13:01:42 +08:00
parent 7b41e7f13d
commit 8614c66131
5 changed files with 4 additions and 664 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ pub use install::{
/// - api.github.com 未认证配额为 60 次/小时/IP:共享出口 IP 打满时检查会失败,
/// 按「错误仅记录、不打扰用户」静默降级,下次成功检查自动追上;
/// 附件下载走 github.com CDN,不受 API 配额限制。
/// - v1.0.x 老客户端的 OTA 源仍是自建 Gitea,CI 的 mirror-gitea job 会把每次
/// 发布镜像回 Gitea,老客户端升级完毕后可移除该 job。
/// - Gitea(gitea.heavenlybook.cn)是 v1.0.0 之前的历史发布渠道,已弃用:
/// GitHub 侧发布历史自 v1.0.0 起独立开始,不再向 Gitea 镜像。
pub const RELEASES_API: &str = "https://api.github.com/repos/LiJoeAllen/mqttx/releases";
/// Releases 页面(github.com,非 API、无配额限制):api.github.com 被限流时
/// 兜底发现最新 tag —— 跟踪 `{RELEASES_PAGE}/latest` 的 302,从最终 URL 取 tag,