release

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Prepare

准备

Confirm the repo is on
main
and clean. Keep changes aligned with OpenCode primitives like
.opencode
,
opencode.json
, skills, and plugins when relevant.

确认仓库处于
main
分支且状态干净。相关修改请与OpenCode的基础规范保持一致,例如
.opencode
opencode.json
、skills和plugins等。

Bump

版本升级

Update versions in
packages/app/package.json
,
packages/desktop/package.json
,
packages/orchestrator/package.json
(publishes as
openwork-orchestrator
),
packages/desktop/src-tauri/tauri.conf.json
, and
packages/desktop/src-tauri/Cargo.toml
. Use one of these commands.
bash
pnpm bump:patch
pnpm bump:minor
pnpm bump:major
pnpm bump:set -- 0.1.21

更新以下文件中的版本号:
packages/app/package.json
packages/desktop/package.json
packages/orchestrator/package.json
(发布为
openwork-orchestrator
)、
packages/desktop/src-tauri/tauri.conf.json
以及
packages/desktop/src-tauri/Cargo.toml
。可使用以下命令之一:
bash
pnpm bump:patch
pnpm bump:minor
pnpm bump:major
pnpm bump:set -- 0.1.21

Merge

合并

Merge the version bump into
main
. Make sure no secrets or credentials are committed.

将版本升级的修改合并到
main
分支。确保没有提交任何密钥或凭证信息。

Tag

打标签

Create and push the tag to trigger the Release App workflow.
bash
git tag vX.Y.Z
git push origin vX.Y.Z

创建并推送标签以触发Release App工作流。
bash
git tag vX.Y.Z
git push origin vX.Y.Z

Rerun

重新运行

If a tag needs a rerun, dispatch the workflow.
bash
gh workflow run "Release App" --repo different-ai/openwork -f tag=vX.Y.Z

如果需要重新运行标签对应的流程,可触发该工作流。
bash
gh workflow run "Release App" --repo different-ai/openwork -f tag=vX.Y.Z

Verify

验证

Confirm the run and the published release.
bash
gh run list --repo different-ai/openwork --workflow "Release App" --limit 5
gh release view vX.Y.Z --repo different-ai/openwork
确认流程运行状态和已发布的版本。
bash
gh run list --repo different-ai/openwork --workflow "Release App" --limit 5
gh release view vX.Y.Z --repo different-ai/openwork