From d6cfb5e6e4134facd142f47d129513f1c209d29a Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Sun, 22 Nov 2026 15:00:39 -0300 Subject: [PATCH] build(tasks): the include states that release.yml releases this repository go-tools v20261122.06 cuts a release only where a repository's include says how, in a map named RELEASE. GATE_WORKFLOW and GATE_JOBS are gone. Before it, `go tool task release` with those two vars would have published a release with no archives here, marked latest. The include now states `RELEASE: {elsewhere: release.yml}` in place of the comment that said why it set no gate, and release refuses with that reason whatever the command line or the environment holds. go.mod requires v0.20261122.6. Part of spin-stack/go-tools#135 Co-Authored-By: Claude Fable 5.2 --- Taskfile.yml | 11 +++++++---- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index fe1b449..d2acbf0 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -29,13 +29,16 @@ vars: includes: # versions, bump, release, lint:workflows and consumers, as every spin-stack repository has them - # (go-tools' internal/tasks/tasks.yml). No GATE_WORKFLOW and GATE_JOBS, so release refuses: a - # release here is release.yml's, dispatched. It runs e2e, the whole runtime matrix and publish - # parity on the commit before it tags it, which no run of go-cli.yml on a push does, and - # GoReleaser then fills a draft that a person publishes once it has its archives. + # (go-tools' internal/tasks/tasks.yml). RELEASE says how this repository is released, and + # release refuses with it: release.yml, dispatched, tags a commit its own gate passed on, and + # GoReleaser builds the archives from that tag into a draft. common: taskfile: "{{.GO_TOOLS_TASKS}}" flatten: true + vars: + RELEASE: + map: + elsewhere: release.yml tasks: default: diff --git a/go.mod b/go.mod index 60ce582..b1e93af 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/opencontainers/image-spec v1.1.1 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.1.0 - github.com/spin-stack/go-tools v0.20261122.5 + github.com/spin-stack/go-tools v0.20261122.6 github.com/tailscale/hujson v0.0.0-20260727124030-b80ff77dac4f github.com/testcontainers/testcontainers-go v0.45.0 go.uber.org/mock v0.6.0 diff --git a/go.sum b/go.sum index 39300c7..2dd5fda 100644 --- a/go.sum +++ b/go.sum @@ -112,8 +112,8 @@ github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiT github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.1.0 h1:6W6MbVUrnMb8PEhjkqwsVLY7ryuzRfFHF4mQd7L94ag= github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spin-stack/go-tools v0.20261122.5 h1:KsHTqIpBGuCc2kyB+0xn6oU+QiiSerC3fuWRJ1KoesA= -github.com/spin-stack/go-tools v0.20261122.5/go.mod h1:E+Fw4T6GukPSmPlRNFT3OymrKnHzTGX1efcz1+l812c= +github.com/spin-stack/go-tools v0.20261122.6 h1:iL4HeSKi6TR6zai1WyGOnHq2/M6WqI6rIyeIGMQGMQ8= +github.com/spin-stack/go-tools v0.20261122.6/go.mod h1:E+Fw4T6GukPSmPlRNFT3OymrKnHzTGX1efcz1+l812c= github.com/stretchr/objx v0.5.3 h1:jmXUvGomnU1o3W/V5h2VEradbpJDwGrzugQQvL0POH4= github.com/stretchr/objx v0.5.3/go.mod h1:rDQraq+vQZU7Fde9LOZLr8Tax6zZvy4kuNKF+QYS+U0= github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=