Skip to content

Commit 911d7bf

Browse files
SimplyLizclaude
andcommitted
docs: add release process to CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d4312ef commit 911d7bf

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,22 @@ golangci-lint run
7878
./ckb setup --tool=vscode
7979
```
8080

81+
## Release Process
82+
83+
Releases are fully automated via `.github/workflows/release.yml`, triggered by pushing a `v*` tag.
84+
85+
**Steps to release:**
86+
1. Bump version in `internal/version/version.go`, `npm/package.json`, `testdata/review/sarif.json`
87+
2. Update `CHANGELOG.md`
88+
3. Merge to main, tag `vX.Y.Z`, push the tag
89+
4. The pipeline handles everything else:
90+
- Runs `go test -race ./...`
91+
- GoReleaser builds cross-platform binaries and uploads to GitHub Releases
92+
- Updates Homebrew tap (`SimplyLiz/homebrew-ckb`)
93+
- Publishes `@tastehub/ckb` + 5 platform packages to npm
94+
95+
**Do not manually `npm publish`** — the pipeline does it with checksummed binaries from GoReleaser.
96+
8197
## npm Distribution (v7.0)
8298

8399
CKB is also available via npm:

0 commit comments

Comments
 (0)