2026-08-30 19:27:36 +00:00
# Releasing Narratio
2026-11-23 18:16:15 +00:00
This is the maintainer runbook for the [release policy ](policy/release.md ).
The authoritative source destination is `origin` at
`ssh://git@forge.maximumdirect.net:22222/eric/narratio.git` ; use `main` .
The hosted destination is [Narratio on Gitea ](https://forge.maximumdirect.net/eric/narratio ).
Install Git, a POSIX shell, and the native compiler and tools needed for Go race
builds. Git access must permit fetching and pushing tags.
2026-08-30 19:27:36 +00:00
2026-11-17 19:56:32 +00:00
## Release toolchain
2026-11-23 18:16:15 +00:00
Use the official Go 1.27.4 toolchain for validation and builds. The consumer
minimum remains Go 1.27.0. Prepare the selected toolchain, application modules,
and the module-selected ReleaseKit tool before offline validation:
2026-11-17 19:56:32 +00:00
```sh
2026-11-17 21:59:19 +00:00
export GOTOOLCHAIN=go1.27.4
2026-11-17 19:56:32 +00:00
go version
2026-11-23 18:16:15 +00:00
go mod download
./releasekit version
2026-11-17 19:56:32 +00:00
```
2026-11-23 18:16:15 +00:00
The launcher runs the ReleaseKit version selected in `go.mod` . The CI image
uses the same Go patch. See [upstream adoption guidance ](https://forge.maximumdirect.net/base-layer/releasekit/src/tag/v0.10.0/docs/consumers/adoption.md ).
## Prepare and publish
2026-11-17 19:56:32 +00:00
2026-11-23 18:16:15 +00:00
Choose an unused stable version under the [versioning and compatibility
rules](policy/release.md#versioning -and-compatibility). Update affected current
documentation and prepare `docs/releases/vMAJOR.MINOR.PATCH.md` with a title
containing Narratio and the version, a summary, and any compatibility impact
or upgrade instructions. End the note with this footer, replacing the version
in each URL with the intended tag:
2026-11-17 19:56:32 +00:00
2026-11-23 18:16:15 +00:00
```markdown
[COPYRIGHT ](https://forge.maximumdirect.net/eric/narratio/src/tag/vMAJOR.MINOR.PATCH/COPYRIGHT ) | [LICENSE ](https://forge.maximumdirect.net/eric/narratio/src/tag/vMAJOR.MINOR.PATCH/LICENSE ) | [ATTRIBUTION ](https://forge.maximumdirect.net/eric/narratio/src/tag/vMAJOR.MINOR.PATCH/docs/oss/attribution.md )
```
2026-08-30 19:27:36 +00:00
2026-11-23 18:16:15 +00:00
Retire completed roadmaps as appropriate, preserve pending work, and review the
candidate through the ordinary development workflow. Commit the candidate and
push it to `origin/main` , then publish from the clean `main` checkout:
2026-08-30 19:27:36 +00:00
```sh
2026-11-23 18:16:15 +00:00
git add <candidate-files>
git commit -m "Prepare Narratio release"
git push origin main
./releasekit publish vMAJOR.MINOR.PATCH
2026-08-30 19:27:36 +00:00
```
2026-11-23 18:16:15 +00:00
ReleaseKit validates the committed candidate with the selected race-enabled
suite, full vet, Go formatting and local-replacement checks, and builds the
three selected binaries with an injected-version smoke check. It creates an
annotated tag and pushes it. Confirmed source-tag publication completes the
release; CI and hosted delivery are separate observations. For optional
diagnosis, use `./releasekit check vMAJOR.MINOR.PATCH` ; publication runs its
own validation, so this is not a prerequisite. See the upstream
[check ](https://forge.maximumdirect.net/base-layer/releasekit/src/tag/v0.10.0/docs/consumers/check.md )
and [publish ](https://forge.maximumdirect.net/base-layer/releasekit/src/tag/v0.10.0/docs/consumers/publish.md )
guides for native behavior and diagnostics.
## Delivery and recovery
Tag-triggered Woodpecker CI uses the tagged module's ReleaseKit selection to
build and deliver the checked-in note and these assets asynchronously:
2026-09-25 15:11:08 +00:00
- `narratio-vMAJOR.MINOR.PATCH-linux-amd64`
- `narratio-vMAJOR.MINOR.PATCH-linux-arm64`
- `narratio-vMAJOR.MINOR.PATCH-darwin-arm64` (best effort)
- `SHA256SUMS`
2026-11-23 18:16:15 +00:00
A cross-build establishes compilation, not native macOS runtime coverage.
CI maps its existing `GITEA_RELEASE_TOKEN` secret to
`RELEASEKIT_GITEA_TOKEN` . Delivery does not determine source-release completion.
If publication is uncertain, use the recovery entry point printed by ReleaseKit
and its saved private publication record to reconcile the outcome before
retrying. Follow the [publication recovery guide ](https://forge.maximumdirect.net/base-layer/releasekit/src/tag/v0.10.0/docs/consumers/publish.md#retain-and-reconcile-publication-evidence ).
For failed or partial delivery, retry from the same immutable tag using the
[delivery guide ](https://forge.maximumdirect.net/base-layer/releasekit/src/tag/v0.10.0/docs/consumers/delivery.md ).
Investigate conflicts or uncertain outcomes according to that guide; do not
replace published content. For older tags, use the tooling and workflow selected
by those tags.