1.3 KiB
1.3 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.3.0.zip
release/regex-tools-0.3.0.zip.sha256
Before packaging, the engine verifier checks the closed PCRE2, Python and Java
file sets in dist/, including checksums, metadata, licences/notices, module
and WebAssembly identities and self-hosted relative asset references.
The existing v0.1.0 and v0.2.0 ZIPs and matching sidecars are historical immutable artifacts. Creating v0.3.0 must not replace, rename or remove them.