From 00efe90236ce552f86c0b3f73eb1725eeb6335f3 Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Tue, 17 Nov 2026 15:48:53 +0000 Subject: [PATCH] Upgrade ReleaseKit to v0.10.0 --- docs/release.md | 18 +++++++++++++++--- go.mod | 6 +++--- go.sum | 12 ++++++------ 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/docs/release.md b/docs/release.md index 3e7b347..8fa85f7 100644 --- a/docs/release.md +++ b/docs/release.md @@ -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" diff --git a/go.mod b/go.mod index 3d1eed4..58aedb8 100644 --- a/go.mod +++ b/go.mod @@ -5,9 +5,9 @@ go 1.27.0 require go.yaml.in/yaml/v4 v4.0.0 require ( - github.com/yuin/goldmark/v2 v2.1.6 // indirect - go.maximumdirect.net/releasekit v0.8.0 // indirect - golang.org/x/mod v0.40.0 // indirect + github.com/yuin/goldmark/v2 v2.1.16 // indirect + go.maximumdirect.net/releasekit v0.10.0 // indirect + golang.org/x/mod v0.43.0 // indirect ) tool go.maximumdirect.net/releasekit/cmd/releasekit diff --git a/go.sum b/go.sum index 354b5f0..f099f6b 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,8 @@ -github.com/yuin/goldmark/v2 v2.1.6 h1:igy0q9JcqovoFXFx/XjtU8sHVhcUHavPj2sA3EoKJUE= -github.com/yuin/goldmark/v2 v2.1.6/go.mod h1:G6M4/qOFtfn01/o14BU1UR2Lo5N3S9Qo7xCuz/sHjGQ= -go.maximumdirect.net/releasekit v0.8.0 h1:hSaHPbUI7tAhnolfbu7UMj2fvmm9FGBY+jhkygdbxR0= -go.maximumdirect.net/releasekit v0.8.0/go.mod h1:QE4BLrAhVJTzi+/YTcVl21K/qZp9ojRLg5kuoy3Zb44= +github.com/yuin/goldmark/v2 v2.1.16 h1:MXvCVo+Cb2SVJ5cwJUzXetDjI7HECRJCkcqylEQtcJo= +github.com/yuin/goldmark/v2 v2.1.16/go.mod h1:G6M4/qOFtfn01/o14BU1UR2Lo5N3S9Qo7xCuz/sHjGQ= +go.maximumdirect.net/releasekit v0.10.0 h1:3GOgaIigXTkvYaRkntWZASE//2NTR1+IhkoKmt64aJo= +go.maximumdirect.net/releasekit v0.10.0/go.mod h1:cT5NZNEcf7SKDx4MPG40YNK9V4bNyIxcLLFuNlbGQ90= go.yaml.in/yaml/v4 v4.0.0 h1:/LG1pNO84Z4l603j/xMn69CcS5OYhMQ/f7l2LoQUGuw= go.yaml.in/yaml/v4 v4.0.0/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= -golang.org/x/mod v0.40.0 h1:hUv+3cXcdRHz08UmSiOob7sadHig73uo5bkXxQ/tvUs= -golang.org/x/mod v0.40.0/go.mod h1:0/weTWkPWGBikyTWAX3dkjVztMmBA5hM0DH6BElSupE= +golang.org/x/mod v0.43.0 h1:MFuq5J6s35W9D3IjkwyWc9vHh0nENOrt5K8Iof4ofmg= +golang.org/x/mod v0.43.0/go.mod h1:4ec1JnuyBz5+FIVhg86UsA39YG8BpnrZdJYSNHmGzHY=