11# Releasing ArrowBase
22
33ArrowBase uses a tag-driven GitHub release workflow plus an optional npm publish
4- step. The first managed release is ** v0.1.0** .
4+ step. The existing ** v0.1.0** tag is GitHub-only; the first npm release is
5+ ** v0.1.1** .
56
67## One-time setup
78
@@ -42,6 +43,8 @@ Run from a clean `master` worktree:
4243``` sh
4344pnpm release:verify
4445pnpm check
46+ pnpm playground:check
47+ pnpm playground:e2e
4548pnpm build
4649pnpm verify:package-exports
4750rm -rf .release
@@ -51,19 +54,19 @@ pnpm release:pack
5154Inspect the generated tarball if needed:
5255
5356``` sh
54- tar -tf .release/arrowbase-0.1.0 .tgz | sort | less
57+ tar -tf .release/arrowbase-0.1.1 .tgz | sort | less
5558```
5659
57- ## Create v0.1.0
60+ ## Create v0.1.1
5861
5962``` sh
6063git status --short
6164pnpm release:verify
62- git tag v0.1.0
63- git push origin v0.1.0
65+ git tag v0.1.1
66+ git push origin v0.1.1
6467```
6568
66- Pushing ` v0.1.0 ` triggers ` .github/workflows/release.yml ` , which validates the
69+ Pushing ` v0.1.1 ` triggers ` .github/workflows/release.yml ` , which validates the
6770release metadata, runs ` pnpm check ` , builds, verifies every published entry
6871point, packs, uploads the tarball artifact, and creates the GitHub release from
6972` RELEASE_NOTES.md ` .
@@ -73,7 +76,7 @@ point, packs, uploads the tarball artifact, and creates the GitHub release from
7376After ` NPM_TOKEN ` exists for the bootstrap—or after trusted publishing is
7477configured—run the ` Release ` workflow manually:
7578
76- - ` version ` : ` 0.1.0 `
79+ - ` version ` : ` 0.1.1 `
7780- ` publish_npm ` : ` true `
7881
7982The workflow runs the same validation and then executes:
@@ -86,8 +89,9 @@ npm publish --provenance --access public
8689
8790- Do not move an existing release tag silently. If a release tag points at the
8891 wrong commit, delete the GitHub release and tag explicitly, then recreate.
89- - If ` pnpm release:verify ` , ` pnpm check ` , ` pnpm build ` , or
90- ` pnpm verify:package-exports ` fails, fix the repo and commit before tagging.
92+ - If ` pnpm release:verify ` , ` pnpm check ` , ` pnpm playground:check ` ,
93+ ` pnpm playground:e2e ` , ` pnpm build ` , or ` pnpm verify:package-exports ` fails,
94+ fix the repo and commit before tagging.
9195- If npm publish cannot authenticate, verify the trusted-publisher workflow and
9296 environment names; use ` NPM_TOKEN ` only for the first publish or emergency
9397 fallback. Do not publish from a laptop unless GitHub Actions is unavailable.
0 commit comments