Files
scriptorium/docs/release.md

3.9 KiB

Release Procedure

The release policy owns versioning, compatibility, publication completion, and immutability. This runbook gives Scriptorium's local selections; ReleaseKit v0.10.0 owns release mechanics.

Prepare

Use a POSIX shell, Git with a configured tagger identity, Go 1.27.4, and the native race detector's C compiler prerequisites. If tags are signed, arrange the signing tool and key. Work from the repository root on main; the authoritative origin push endpoint is currently ssh://git@forge.maximumdirect.net:22222/eric/scriptorium.git. The Go consumer minimum is separate; see the developer guide.

Select Go 1.27.4 and prepare public dependencies before offline validation:

go version
GOWORK=off go mod download

Choose an unused stable version and commit its note at docs/releases/<version>.md, beginning with # Scriptorium <version>. Include the relevant compatibility impact and upgrade actions. For the eventual ReleaseKit adoption release, mention the new maintainer entry point and the loss of separately injected revision metadata. End the note with immutable links, substituting the chosen tag in all three locations:

[COPYRIGHT](https://forge.maximumdirect.net/eric/scriptorium/src/tag/<version>/COPYRIGHT) | [LICENSE](https://forge.maximumdirect.net/eric/scriptorium/src/tag/<version>/LICENSE) | [ATTRIBUTION](https://forge.maximumdirect.net/eric/scriptorium/src/tag/<version>/docs/oss/attribution.md)

Publish the intended main commit to origin before publishing its tag. The checked-in note supplies the complete hosted release body unchanged.

Publish And Deliver

From the module root, substitute the selected version:

sh ./releasekit publish VERSION

The module-selected tool uses releasekit.json for product, race testing, Linux amd64/arm64 builds, and delivery selections. Native check is an optional diagnostic, not a required step before publish. See the CLI, profile, build, and publication and reconciliation guides for command semantics and recovery.

A successful tag push completes source publication; hosted delivery is asynchronous and must be reported separately. The tag-triggered Woodpecker workflow delivers scriptorium-<version>-linux-amd64, scriptorium-<version>-linux-arm64, and SHA256SUMS. An operator must provision the Woodpecker repository secret releasekit_gitea_token, mapped to RELEASEKIT_GITEA_TOKEN; source publication itself needs no delivery token. Keep the earlier GITEA_RELEASE_TOKEN secret for historical tagged workflows.

For delivery retries and partial or unknown outcomes, follow the upstream delivery guide and retain original build artifacts where rebuilding could change bytes. Runtime version behavior is described by the runtime version guide.