Clarify release command exit statuses
This commit is contained in:
@@ -81,11 +81,11 @@ go list -m gitea.maximumdirect.net/eric/ReleaseKit
|
|||||||
"$releasekit_bin" version
|
"$releasekit_bin" version
|
||||||
```
|
```
|
||||||
|
|
||||||
The module-selected executable is ReleaseKit v0.2.0. Do not use `go run` or
|
The module-selected executable is ReleaseKit v0.2.0. Use the built executable
|
||||||
`go tool` for publication: the native executable preserves its exit status and
|
for publication to preserve its exit status and publication-state diagnostics.
|
||||||
the publication-state diagnostics. ReleaseKit's child Go commands use the
|
`go run` maps a nonzero child exit status to 1. ReleaseKit's child Go commands
|
||||||
`go` found on `PATH` with `GOTOOLCHAIN=local`; keep the selected executable
|
use the `go` found on `PATH` with `GOTOOLCHAIN=local`; keep the selected
|
||||||
first on `PATH` through the publication command.
|
executable first on `PATH` through the publication command.
|
||||||
|
|
||||||
Verify access to the authoritative remote without displaying credentials:
|
Verify access to the authoritative remote without displaying credentials:
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ gate or ConfigKit-owned recovery implementation.
|
|||||||
|
|
||||||
## 2. Remove the unsupported prohibition on `go tool` (P3)
|
## 2. Remove the unsupported prohibition on `go tool` (P3)
|
||||||
|
|
||||||
|
Status: Complete. The runbook retains the built-executable workflow and limits
|
||||||
|
its exit-status explanation to `go run`. A fresh `go tool` check preserved
|
||||||
|
ReleaseKit's status 2 and publication diagnostics.
|
||||||
|
|
||||||
Affected: [release procedure](../release.md#1-select-go-and-prepare-the-tool),
|
Affected: [release procedure](../release.md#1-select-go-and-prepare-the-tool),
|
||||||
lines 84–86.
|
lines 84–86.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user