Skip to content

按 GregTech-Modern 统一版本分支的发布 CI - #7

Merged
QiuYe-QAQ merged 3 commits into
26.1from
qy/shared-release-ci
Nov 20, 2026
Merged

QiuYe-QAQ merged 3 commits into
26.1from
qy/shared-release-ci

Conversation

@QiuYe-QAQ

Copy link
Copy Markdown
Member

What / 目的

按 GregTech-Modern 的方式在默认分支 26.1 维护发布 CI,并通过同步 PR 更新 1.21 分支。

Implementation Details / 实现细节

  • 正式发布由 26.1 和 1.21 各自的 job 调用共用的 publish.yml,从发布标签构建,并将版本号和 changelog 更新提交到对应分支。
  • 快照构建覆盖两个版本分支,分别读取对应的 changelog JSON。Maven 发布沿用现有 Secrets 和 GT 的执行条件。
  • 构建按版本选择 JDK。默认分支的 .github 有变更时,sync.yml 向 1.21 创建同步 PR。

Outcome / 结果

  • actionlint、JSON 检查及本地同步和发布回写演练通过。
  • 26.1 的 assemble --build-cache 和 publish --dry-run 通过。本次验证为本地验证,实际 Maven 发布取决于 Gradle 的发布仓库配置。

@QiuYe-QAQ
QiuYe-QAQ requested a review from a team as a code owner November 20, 2026 10:17
@github-actions github-actions Bot added the 26.1 label Nov 20, 2026
@QiuYe-QAQ QiuYe-QAQ added type: bugfix General bug fixes Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. ignore changelog PR should not be added to the changelog. labels Nov 20, 2026
@QiuYe-QAQ
QiuYe-QAQ enabled auto-merge (squash) November 20, 2026 10:20
@QiuYe-QAQ
QiuYe-QAQ disabled auto-merge November 20, 2026 10:20
@QiuYe-QAQ
QiuYe-QAQ merged commit e13ad2c into 26.1 Nov 20, 2026
6 of 8 checks passed
@QiuYe-QAQ
QiuYe-QAQ deleted the qy/shared-release-ci branch November 20, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

26.1 ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant