跳到正文
cccskills
免费在 GitHub 公开

release-promotion

Promotes @rhinestone/sdk v3 from main to release and publishes it to npm @latest. Use when a main → release "Release" PR is open, a changeset has to reach @latest, or a release PR is stuck BEHIND or unapproved.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Release promotion

Publishing v3 to @latest takes two PRs into release, both titled "Release" and opened by rhinestone-automations. Merging the first publishes nothing.

Before promotion

  • Freeze/lock the historical solana branch and reconcile every queued or in-flight publishing run. Its old workflow can otherwise race main for the shared @dev tag.
  • Confirm the checked-in local candidate manifest and default x-sdk-version header are 3.0.0-rc.0. It is a local bootstrap identity, not an npm prerelease channel.
  • Calculate the Changesets plan from the promotion tree. It must consume the pending v3 changesets once and produce exactly 3.0.0; do not pre-bump the manifest or enable Changesets prerelease mode.
  • Run the contract check against the exact release-PR base. The first promotion compares a v2 base with the v3 candidate under declared major changesets. Once the baseline exposes /evm and /solana, select v3 fixtures on both sides and retain strict v3 compatibility for version-only or patch follow-ups. Run the pre-v3 ancestor (1529637ccc2553b28bfcba3adb8bf6ac40285228) separately as the historical v2 migration audit; it does not replace the real baseline check.

Promotion

  1. Promotion PR (main → release). The Release workflow opens it after a main push with unreleased changesets publishes @dev. It is usually BEHIND, because the previous chore: release commit exists only on release. The release ruleset requires up-to-date build, test and release-package-contract checks, plus one approving review that any push dismisses.
    • Run gh pr update-branch <n> --repo rhinestonewtf/sdk before asking for approval. It pushes a merge of release into main.
    • Reconfirm the exact Changesets plan after updating the branch, wait for checks, get approval, then merge with a merge commit.
  2. Version PR (changeset-release/release → release). Merging the promotion runs changesets/action, which opens or updates this PR with the stable 3.0.0 bump, matching header, changelog, and consumed changesets.
  3. Publish. Merging the version PR runs build, unit tests and the full integration suite. It then publishes @latest over OIDC and opens the SDK-reference PR in docs. An npm publish cannot be undone.
    • Confirm with npm view @rhinestone/sdk dist-tags and verify the exact 3.0.0 package/header before handing the reference PR to RHI-8273.

Both PRs need an approving review. Passing checks alone never unblock them. V2 maintenance publishing remains owned by RHI-8326.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Writes, reviews, and polishes @rhinestone/sdk changesets. Use when adding release notes, editing .changeset/*.md files, preparing SDK releases, or reviewing changelog wording.

中文简介正在准备中。当前显示原文说明。

rhinestonewtf/sdk132026年10月19日 更新

dx

免费

Design guidance for changing the @rhinestone/sdk public surface so it is safe, intuitive, and pleasant to integrate. Use when adding, renaming, or changing public exports, types, account/action APIs, config objects, error classes, or defaults in sdk/src.

中文简介正在准备中。当前显示原文说明。

rhinestonewtf/sdk132026年10月19日 更新

jsdoc

免费

How to write JSDoc on @rhinestone/sdk public symbols, which is autogenerated into the published SDK Reference. Use when adding or editing doc comments on entry points, the account instance, actions, or utils in sdk/src.

中文简介正在准备中。当前显示原文说明。

rhinestonewtf/sdk132026年10月19日 更新

查看 rhinestonewtf 的全部技能

报告此技能的问题