fix(release): nightly 仅发布到 GitHub,不再上传 R2 - #177
Merged
Merged
Conversation
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. Nightly updater clients are redirected to GitHub Releases, while the workflow stops publishing nightly updater objects to R2. If the release URL, manifest, or asset publication is wrong, nightly users may fail to update or receive an unintended artifact; reverting restores the previous path, but already-published GitHub release artifacts and any failed update attempts are not undone.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 改动概述
nightly 发布目前会上传更新包和更新清单到 R2。本次将 R2 上传、公开对象校验和通道清单更新限制为 stable(
tag-poll)发布,nightly 仅发布到 GitHub Releases。同时将 nightly 更新清单中的下载地址和客户端默认更新入口改回 GitHub Releases,避免停止 R2 上传后仍从旧地址检查或下载更新。stable 继续使用 R2,并同步更新文档。
Verification / 验证方式
node --test scripts/ci/build-desktop-tauri-workflow.test.mjs scripts/prepare-resources/tauri-config.test.mjs scripts/ci/release-updater-artifacts.test.mjs:21 项通过。python3 -m unittest scripts.ci.test_generate_tauri_latest_json scripts.ci.test_publish_r2_release:45 项通过。git diff --check:通过。已有客户端若内置旧的 R2 nightly 入口,需要安装包含新入口的版本或使用更新入口环境变量覆盖;本次未迁移、删除 R2 上的历史对象。
Checklist / 检查清单