agentic-pi 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -382,18 +382,23 @@ agentic-pi publishes to npm via a GitHub Actions workflow using **npm
|
|
|
382
382
|
trusted publishing** (OIDC) — no `NPM_TOKEN` secret is needed in the
|
|
383
383
|
repo.
|
|
384
384
|
|
|
385
|
-
To cut a release:
|
|
386
|
-
|
|
387
|
-
1. Bump `version` in `package.json`
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
`
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
The workflow
|
|
395
|
-
|
|
396
|
-
|
|
385
|
+
To cut a release (recommended path):
|
|
386
|
+
|
|
387
|
+
1. Bump `version` in `package.json` — `npm version patch` does this, plus
|
|
388
|
+
commit and tag, in one step.
|
|
389
|
+
2. Push the commit and tag: `git push --follow-tags`.
|
|
390
|
+
3. Create a GitHub Release on the new tag, e.g.
|
|
391
|
+
`gh release create v0.2.0 --generate-notes` or via the GitHub web UI.
|
|
392
|
+
4. The `publish.yml` workflow runs on the `release: published` event.
|
|
393
|
+
|
|
394
|
+
The workflow also triggers on bare `v*.*.*` tag pushes and on manual
|
|
395
|
+
`workflow_dispatch`. The `release` event is the preferred path because
|
|
396
|
+
tag-push events get suppressed when a tag is pushed in the same `git
|
|
397
|
+
push` invocation as branch commits — a real GitHub Actions quirk.
|
|
398
|
+
|
|
399
|
+
The publish step fails if the tag (or the dispatch `ref` input) doesn't
|
|
400
|
+
match `package.json` version — there is no path that publishes a version
|
|
401
|
+
not represented in the repo at that exact commit.
|
|
397
402
|
|
|
398
403
|
### One-time setup (trusted publisher)
|
|
399
404
|
|
package/package.json
CHANGED