From 5e67a4dd3ba284cb2f6bee6c74854c29b82d9967 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sun, 26 Apr 2026 21:59:17 -0400 Subject: [PATCH] docs: note tag-based publish workflow in CLAUDE.md --- CLAUDE.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 2d1f8d7..edd0cdc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -13,6 +13,16 @@ npm run test:watch # Run vitest in watch mode Run a single test file: `npx vitest run src/server/parse.test.ts` +## Publishing + +Bump `version` in `package.json`, commit, push to `master`, then push a matching tag — the CI publish job only runs on `v*` tags: + +```bash +git tag v0.1.x && git push origin v0.1.x +``` + +The workflow verifies the tag matches `package.json` version before publishing to npm. + ## Architecture This is a Paperclip adapter plugin that runs OpenCode agents as isolated Kubernetes Job pods. It exposes three entry points: