Adopt ReleaseKit v0.11.0 and migrate local delivery credentials

This commit is contained in:
2026-12-06 04:00:25 +00:00
parent 89340cee1e
commit 85c334e396
4 changed files with 29 additions and 12 deletions

View File

@@ -103,7 +103,7 @@ go list -m go.maximumdirect.net/releasekit
go tool releasekit version
```
This repository selects ReleaseKit v0.10.0. `go tool releasekit` preserves the
This repository selects ReleaseKit v0.11.0. `go tool releasekit` preserves the
tool's exit status and publication report; `go run` maps a nonzero child exit
status to 1. ReleaseKit's child Go commands
use the `go` found on `PATH` with `GOTOOLCHAIN=local`; keep the selected
@@ -121,10 +121,11 @@ export GOOS="$release_host_os" GOARCH="$release_host_arch"
ReleaseKit still selects the Linux compilation targets from the profile.
For hosted delivery, save the Gitea API token in the ignored local file
`.releasekit/gitea-token` with owner-only permissions. The profile uses it when
`RELEASEKIT_GITEA_TOKEN` is unset or blank; a nonblank environment value takes
precedence. The file path resolves from the repository root, and ReleaseKit
trims surrounding whitespace from its contents. Keep credentials out of release
`.releasekit/gitea-token` with owner-only permissions. The profile selects it through
`delivery.credentials.local.token_file`. Local delivery uses this file exclusively;
environment tokens do not override it. The file path resolves from the repository
root, and ReleaseKit trims surrounding whitespace from its contents. A missing,
unreadable, or blank selected file is an error. Keep credentials out of release
notes, diagnostic labels, command arguments, and commits. The selected
`forbidden_files` check also rejects a committed token at that exact path;
it does not scan other files or history. Source publication uses Git
@@ -139,6 +140,18 @@ git ls-remote ssh://git@forge.maximumdirect.net:22222/base-layer/configkit.git H
Publication requires explicit authorization. Local implementation commits do
not authorize a push or release.
For optional setup diagnostics before choosing a version or writing a note:
```sh
go tool releasekit validate --offline --operation publication --operation go
```
This inspects working configuration, Git publication settings and the Go
toolchain without contacting remotes or loading delivery credentials. It does
not run tests, check dependency-cache completeness or replace candidate validation.
It is not a release prerequisite. ConfigKit does not configure CI rehearsal;
the release process continues without waiting for CI.
## 2. Prepare and commit the candidate
Choose a stable version that has not been used locally or on the publication
@@ -322,9 +335,11 @@ regardless of the CLI's credential-redacted diagnostic output.
Reconciliation observes the captured endpoint and exact tag object using current
supported Git transport settings. It does not load the current profile, require
the original `HEAD`, rerun candidate validation, change tags, or contact Gitea
hosted delivery. It needs no clean candidate checkout. Use ReleaseKit v0.8.0 or
another CLI supporting the saved record format, including format 2 where exact
non-UTF-8 endpoint/path bytes were retained.
hosted delivery. It needs no clean candidate checkout. Use a CLI supporting the
saved record's format: ReleaseKit v0.11.0 writes format 3, which includes source
and version identity, and also reads formats 1 and 2. Older CLIs cannot read
format 3; use the current tool for new attempts. Format 2 retains exact non-UTF-8
endpoint/path bytes.
| Reconciliation status | Meaning and next action |
| --- | --- |