Skip to content

ci: 重构版本发布流程#393

Open
linrongda wants to merge 4 commits intomasterfrom
ci/release-version
Open

ci: 重构版本发布流程#393
linrongda wants to merge 4 commits intomasterfrom
ci/release-version

Conversation

@linrongda
Copy link
Copy Markdown
Member

@linrongda linrongda commented Apr 13, 2026

@klxiaoniu 考虑release的时候发布beta?

更改后release版本发布流程:

  1. 进入 release最新提交对应的alpha版本
  2. 修改并创建 tagx.x.x
  3. 修改 Release titlex.x.x
  4. 修改 Release notes 为 release版更新日志
  5. 取消勾选 Set as a pre-release ,勾选 Set as the latest release
  6. 点击 Update release
  7. CI 自动发布beta并抬升版本号

@klxiaoniu
Copy link
Copy Markdown
Contributor

@klxiaoniu 考虑release的时候发布beta?

感觉这个可以,就是在正式版推市场和推应用内更新之间让开启了测试版的先在应用内收到更新

@linrongda linrongda marked this pull request as ready for review April 15, 2026 10:22
@linrongda linrongda requested review from a team, klxiaoniu and renbaoshuo as code owners April 15, 2026 10:22
Copilot AI review requested due to automatic review settings April 15, 2026 10:22
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

该 PR 重构了版本发布相关的 GitHub Actions 流程:不再通过单独的 release.yml 在打 tag 时自动创建 Release,而是改为在创建/更新版本 tag 后,CI 直接基于对应 tag 的 GitHub Release 资产发布 beta,并继续触发版本号抬升流程。

Changes:

  • 移除独立的 Publish Release 工作流,并从主流程中删除对其的依赖调用
  • beta 工作流支持在 tag 触发时,按 tag 解析并拉取对应 Release 的 APK/更新日志
  • 调整 iOS 可复用工作流的 job id;更新 alpha 发布使用的 softprops/action-gh-release 版本引用

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/workflows/release.yml 删除原本用于基于 tag 创建 GitHub Release 的工作流
.github/workflows/main.yml tag 触发时改为运行 beta + version;移除 release job 及其依赖关系
.github/workflows/beta.yml 新增按 ref 解析 Release tag,并从对应 Release 拉取 APK 与 changelog
.github/workflows/ios.yml 重命名可复用工作流中的 job id(build_ipabuild-ipa
.github/workflows/alpha.yml 更新创建 alpha pre-release 的 action 版本引用

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

Comment thread .github/workflows/beta.yml
Comment thread .github/workflows/beta.yml
Comment thread .github/workflows/main.yml
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.

3 participants