Update adopted policies to the current upstream standard
This commit is contained in:
@@ -7,9 +7,22 @@ for development, and Windows is unsupported. `main` on `origin` is authoritative
|
||||
|
||||
## Prepare
|
||||
|
||||
Use Git, a POSIX shell, and Go 1.25.5 or newer. Configure ordinary Git credentials
|
||||
for `origin` and private-module access without putting secrets in the repository.
|
||||
Prepare dependencies before offline validation where necessary:
|
||||
Use Git, a POSIX shell, and a Go installation supporting toolchain selection.
|
||||
The selected release toolchain is Go 1.25.5. Select it for candidate validation
|
||||
and release builds, including any CI performing those tasks:
|
||||
|
||||
```sh
|
||||
export GOTOOLCHAIN=go1.25.5
|
||||
go version
|
||||
```
|
||||
|
||||
The consumer minimum is declared in [`go.mod`](../go.mod). Its patch-level
|
||||
minimum is required by the selected PromptKit dependency. Selecting a newer
|
||||
release toolchain is a separate runbook update and leaves that minimum unchanged.
|
||||
|
||||
Configure ordinary Git credentials for `origin` and private-module access
|
||||
without putting secrets in the repository. Prepare the selected toolchain and
|
||||
dependencies before offline validation where necessary:
|
||||
|
||||
```sh
|
||||
GOWORK=off GOPRIVATE=gitea.maximumdirect.net go mod download
|
||||
@@ -39,9 +52,10 @@ Run one command from the repository with the actual selected version:
|
||||
./scripts/release.sh vMAJOR.MINOR.PATCH
|
||||
```
|
||||
|
||||
The command checks version availability on `origin`, branch and worktree state,
|
||||
and the matching note. It runs the complete offline default test suite once and
|
||||
a native CLI build/version check with `GOWORK=off`. The
|
||||
Both release scripts inherit the `GOTOOLCHAIN` selected during preparation.
|
||||
The publication command checks version availability on `origin`, branch and
|
||||
worktree state, and the matching note. It runs the complete offline default test
|
||||
suite once and a native CLI build/version check with `GOWORK=off`. The
|
||||
[gate rationale](policy/release.md#notarius-gate-selection) explains the selected
|
||||
checks. It then rechecks candidate and publication state, pushes the exact
|
||||
candidate to `main` without force, creates a lightweight tag, and pushes only
|
||||
|
||||
Reference in New Issue
Block a user