1.1 KiB
1.1 KiB
Release process
- Ensure the intended commit is clean and tagged.
- Install the exact lockfile with
npm ci. - Run
npm run release:artifact. - Record the reported SHA-256, then run
npm run package:release -- --forcetwice and verify both reported digests match it. Inspect an existing exact-version artifact before deliberately replacing it. - Inspect ZIP paths, manifest, legal documents and absence of maps/secrets.
- Publish ZIP and
.sha256on the matching Gitea release. - Use the public immutable URL and digest in Toolbox Portal.
The package script sorts paths without locale-dependent collation, rejects
symlinks and credential-like paths, normalizes file timestamps and modes,
verifies manifest/source identity, stages both outputs and rolls back the pair
on publication failure, replaces an existing exact version only with
--force, and produces:
release/regex-tools-0.2.0.zip
release/regex-tools-0.2.0.zip.sha256
The existing release/regex-tools-0.1.0.zip and matching sidecar are historical
immutable artifacts. Creating v0.2.0 must not replace, rename or remove them.