Skip to content

chore: 替换下载链接#20

Merged
KercyDing merged 1 commit into
mainfrom
chore-replace-release-download-url
Feb 28, 2026
Merged

chore: 替换下载链接#20
KercyDing merged 1 commit into
mainfrom
chore-replace-release-download-url

Conversation

@KercyDing
Copy link
Copy Markdown
Member

@KercyDing KercyDing commented Feb 28, 2026

摘要

  • 替换 release 下载链接为 cnb

增强内容:

  • 将版本元数据中配置的发行基础 URL 从 GitHub Releases 切换为使用 cnb.cool 托管端点。
Original summary in English

Summary by Sourcery

Enhancements:

  • Switch the configured release base URL in the version metadata to use the cnb.cool hosting endpoint instead of GitHub Releases.

Copilot AI review requested due to automatic review settings February 28, 2026 12:27
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Feb 28, 2026

评审者指南(在小型 PR 上折叠)

评审者指南

将发布下载的基础 URL 从 GitHub Releases 更新为 cnb.cool 的发布端点,同时保持版本和标签常量不变。

文件级变更

变更 详情 文件
将发布资源下载的基础 URL 从 GitHub Releases 切换为 cnb.cool。
  • 保持 VERSION 和 RELEASE_TAG 常量不变
  • 将 RELEASE_BASE 修改为指向 cnb.cool 上 SeaLantern 的发布下载路径,并继续使用现有的 RELEASE_TAG 插值
.vitepress/version.ts

提示与命令

与 Sourcery 交互

  • 触发新的评审: 在 Pull Request 中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的评审评论。
  • 从评审评论生成 GitHub Issue: 在评审评论下回复,请求 Sourcery 从该评论创建一个 issue。你也可以在评审评论下回复 @sourcery-ai issue 来从该评论创建一个 issue。
  • 生成 Pull Request 标题: 在 Pull Request 标题中任意位置写上 @sourcery-ai,即可随时生成标题。你也可以在 Pull Request 中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 Pull Request 摘要: 在 Pull Request 正文任意位置写上 @sourcery-ai summary,即可在你想要的位置随时生成 PR 摘要。你也可以在 Pull Request 中评论 @sourcery-ai summary 来(重新)生成摘要。
  • 生成评审者指南: 在 Pull Request 中评论 @sourcery-ai guide,即可随时(重新)生成评审者指南。
  • 解决所有 Sourcery 评论: 在 Pull Request 中评论 @sourcery-ai resolve,即可将所有 Sourcery 评论标记为已解决。如果你已经处理完所有评论且不再想看到它们,这将非常有用。
  • 忽略所有 Sourcery 评审: 在 Pull Request 中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 评审。若你希望从一次全新的评审开始,这尤其有用——别忘了再评论 @sourcery-ai review 以触发新一轮评审!

自定义你的体验

访问你的 控制面板 以:

  • 启用或禁用评审功能,例如 Sourcery 生成的 Pull Request 摘要、评审者指南等。
  • 更改评审语言。
  • 添加、删除或编辑自定义评审说明。
  • 调整其他评审设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Update the release download base URL from GitHub Releases to the cnb.cool releases endpoint, keeping the version and tag constants unchanged.

File-Level Changes

Change Details Files
Switch release asset download base URL from GitHub Releases to cnb.cool.
  • Keep VERSION and RELEASE_TAG constants unchanged
  • Change RELEASE_BASE to point to the cnb.cool SeaLantern release download path using the existing RELEASE_TAG interpolation
.vitepress/version.ts

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@KercyDing KercyDing changed the title chore: replace release download base URL chore: 替换下载链接 Feb 28, 2026
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我在这里给出了一些整体性的反馈:

  • RELEASE_BASE 上方的 JSDoc 风格注释仍然指向 GitHub 的 release URL;建议更新为新的 cnb.cool releases 端点,以避免混淆。
给 AI 代理的提示
Please address the comments from this code review:

## Overall Comments
- The JSDoc-style comment above `RELEASE_BASE` still refers to the GitHub release URL; consider updating it to reflect the new cnb.cool releases endpoint to avoid confusion.

Sourcery 对开源项目是免费的——如果你喜欢我们的评审,请考虑分享给他人 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的代码评审。
Original comment in English

Hey - I've left some high level feedback:

  • The JSDoc-style comment above RELEASE_BASE still refers to the GitHub release URL; consider updating it to reflect the new cnb.cool releases endpoint to avoid confusion.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The JSDoc-style comment above `RELEASE_BASE` still refers to the GitHub release URL; consider updating it to reflect the new cnb.cool releases endpoint to avoid confusion.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the documentation site’s release asset download base URL to use the cnb.cool releases download endpoint instead of the GitHub Releases download endpoint.

Changes:

  • Switched RELEASE_BASE from https://github.com/.../releases/download/... to https://cnb.cool/.../-/releases/download/...
Comments suppressed due to low confidence (1)

.vitepress/version.ts:8

  • The PR description appears to contain placeholders/omitted values (e.g. “replace … base URL in”, “update from to”), which makes it hard to verify intent. Please update the description with the specific file/URLs being changed and the rationale for moving downloads to cnb.cool.
export const RELEASE_BASE = `https://cnb.cool/SeaLantern-studio/SeaLantern/-/releases/download/${RELEASE_TAG}`

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .vitepress/version.ts
Comment thread .vitepress/version.ts
@KercyDing KercyDing force-pushed the chore-replace-release-download-url branch from 13b7eff to 739bc03 Compare February 28, 2026 12:30
@KercyDing KercyDing merged commit d172f1b into main Feb 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants