-
Notifications
You must be signed in to change notification settings - Fork 0
release process
The release maintainer verifies source truth, package contents, security state, hosted parity, changelog, signatures, npm provenance, and GitHub release artifacts. A second reviewer should approve contract or source-semantic changes when available.
-
Update package versions and
CHANGELOG.md. -
Regenerate source artifacts:
corepack pnpm db:seed:generate corepack pnpm source:matrix
-
Run:
corepack pnpm verify corepack pnpm pack:check corepack pnpm security:audit corepack pnpm audit --prod
-
Confirm GitHub CI, CodeQL, dependency, and secret-scanning state.
-
Merge through a reviewed PR with no generated public-record datasets.
- Create a signed annotated tag:
git tag -s v1.0.0 -m "OpenTrade Registry v1.0.0". - Push the tag from clean
main. - The release workflow rebuilds, verifies, packs, and publishes public packages with npm provenance and
access=public. - Create the GitHub release from the signed tag and changelog.
- Attach checksums for code/package artifacts only. Do not attach generated agency datasets.
- Install the published CLI and packages in a clean directory and execute imports plus
opentrade help.
If npm organization access, package ownership, signing, or provenance fails, stop the release and fix the external prerequisite. Do not publish partial versions under inconsistent numbers.
After merge, apply the deterministic seed to the optional Supabase mirror, deploy Vercel, and verify production /api/health reports file/database count and metadata parity. Hosted parity is release evidence, not a dependency of local packages.
Do not move or recreate a published tag. Publish a patch release. Deprecate a broken npm version when appropriate, document impact, and follow incident response for security or data-integrity failures.