Upgrade ReleaseKit to v0.10.0

This commit is contained in:
2026-11-17 15:48:53 +00:00
parent 8aa91e8f0a
commit 00efe90236
3 changed files with 24 additions and 12 deletions

View File

@@ -103,12 +103,23 @@ go list -m go.maximumdirect.net/releasekit
go tool releasekit version
```
This repository selects ReleaseKit v0.8.0. `go tool releasekit` preserves the
This repository selects ReleaseKit v0.10.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
executable first on `PATH` through the publication command.
If Go is configured for cross-compilation, select the host for the release
session before preparing or running the CLI:
```sh
release_host_os=$(go env GOHOSTOS)
release_host_arch=$(go env GOHOSTARCH)
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
@@ -257,10 +268,11 @@ available locally:
```sh
release_version=v1.0.0
git switch --detach "$release_version"
git switch --detach "$release_version" && git status --short
```
After preparing the tool in that tagged checkout:
Proceed once the switch succeeds and the status output is empty. After
preparing the tool in that tagged checkout:
```sh
go tool releasekit deliver "$release_version"