بنقرة واحدة
release
Guide runtime release process for Bulletin Chain networks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Guide runtime release process for Bulletin Chain networks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Update the SDK book documentation to reflect changes in the SDK source code
Run all formatting, linting and cleaning checks before committing code
Build the console UI (same as CI)
Review local changes or a pull request (authoritative review criteria)
| name | release |
| description | Guide runtime release process for Bulletin Chain networks |
Guide the user through runtime releases. Reference docs/playbook.md for full details.
/release <network>
Networks: westend, paseo
Each runtime is released independently — one tag triggers one runtime build.
Pre-checks (optional): cargo test && cargo clippy --all-targets --all-features --workspace -- -D warnings
Bump spec_version in the appropriate runtime file:
runtimes/bulletin-westend/src/lib.rsruntimes/bulletin-paseo/src/lib.rsCreate a PR with the version bump:
git checkout -b bump-<network>-spec-version-<VERSION> origin/main
git add runtimes/
git commit -m "Bump <network> spec_version to <VERSION>"
git push -u origin bump-<network>-spec-version-<VERSION>
gh pr create --title "Bump <network> spec_version to <VERSION>"
Merge the PR and tag the release on main. Tag must end in -westend or -paseo — the suffix tells CI which runtime to build:
gh pr merge <PR_NUMBER> --squash
git checkout main && git pull
git tag -a v<VERSION>-<network> -m "Release v<VERSION>-<network>"
git push origin v<VERSION>-<network>
Download WASM: The Release CI builds the WASM artifact for the runtime matching the tag suffix. Note: CI takes a long time (15-30+ minutes). Do NOT poll or check CI status repeatedly — tell the user you are waiting and ask them to notify you when the release is ready. Once notified, download with: gh release download <TAG> -p "*.wasm" -D .
Upgrade: Use the upgrade script in examples/:
node upgrade_runtime.js "<SEED>" ./path/to/runtime.wasm --network <network>
Verify: Confirm spec_version matches the new version:
node upgrade_runtime.js --verify-only --network <network>
Expected output should show the bumped spec_version. If it doesn't match, the upgrade failed.
node upgrade_runtime.js <seed> <wasm_path> [options]
Options:
--network <name> westend, paseo (default: westend)
--rpc <url> Custom RPC endpoint
--verify-only Only check current version
Each runtime has its own independent tag track, distinguished by suffix:
| Network | Format | Examples |
|---|---|---|
| westend | v0.0.X-westend | v0.0.10-westend → v0.0.11-westend |
| paseo | v0.0.X-paseo | v0.0.1-paseo → v0.0.2-paseo |
vX.Y.Z tags (no suffix) are not picked up by Release CI and will not produce artifacts.When determining the next version for a network, filter tags by suffix:
# next westend version
git tag --list 'v*-westend' --sort=-v:refname | head -1
# next paseo version
git tag --list 'v*-paseo' --sort=-v:refname | head -1