Make local release delivery the standard workflow

This commit is contained in:
2026-12-04 15:01:59 +00:00
parent 752c9b44d2
commit 13e1ce5d86
4 changed files with 16 additions and 67 deletions

View File

@@ -12,8 +12,9 @@ the selected toolchain and dependencies separately from offline validation:
```sh
export GOTOOLCHAIN=go1.27.0
export GOWORK=off
go version
GOWORK=off go mod download
go mod download
```
Choose an unused stable version under the policy's compatibility rules. Add
@@ -34,7 +35,7 @@ ReleaseKit:
git push origin main
```
## Publish and deliver
## Publish source
From the clean candidate on `main`, run:
@@ -48,19 +49,23 @@ completes the source release; it does not wait for delivery. The optional
`./scripts/releasekit check VERSION` is a diagnostic, not a mandatory
preliminary repetition.
Tag CI uses the committed profile to deliver the note and binary/checksum assets.
Provision Woodpecker secret `releasekit_gitea_token` and its Git/module access
before relying on this route. Alternatively, from a clean checkout of the
matching tag with dependencies prepared, run:
## Deliver locally
After successful source publication, deliver the hosted note, Linux/amd64 binary,
and checksum assets from the same clean checkout, while `HEAD` still identifies
the published tag's commit:
```sh
./scripts/releasekit deliver vMAJOR.MINOR.PATCH
```
Use one delivery route as appropriate, not both routinely. Local delivery uses
Local delivery is the standard workflow; no CI job performs delivery. It uses
the ignored `.releasekit/gitea-token` file or a nonblank
`RELEASEKIT_GITEA_TOKEN` environment override. Keep the file owner-only and
never display its contents. Git publication uses Git credentials, not this token.
When resuming delivery later, use a clean checkout of the matching tag and prepare
the toolchain and dependencies as above. Delivery does not repeat the publication
test suite or publish another tag.
See the [delivery guide](https://forge.maximumdirect.net/base-layer/releasekit/src/tag/v0.10.0/docs/consumers/delivery.md)
for credential setup and delivery details.