Skip to content

Commit 524c265

Browse files
aledbfclaude
andcommitted
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 <noreply@anthropic.com>
1 parent 7000396 commit 524c265

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎Taskfile.yml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@ vars:
2929

3030
includes:
3131
# versions, bump, release, lint:workflows and consumers, as every spin-stack repository has them
32-
# (go-tools' internal/tasks/tasks.yml). No GATE_WORKFLOW and GATE_JOBS, so release refuses: a
33-
# release here is release.yml's, dispatched. It runs e2e, the whole runtime matrix and publish
34-
# parity on the commit before it tags it, which no run of go-cli.yml on a push does, and
35-
# GoReleaser then fills a draft that a person publishes once it has its archives.
32+
# (go-tools' internal/tasks/tasks.yml). RELEASE says how this repository is released, and
33+
# release refuses with it: release.yml, dispatched, tags a commit its own gate passed on, and
34+
# GoReleaser builds the archives from that tag into a draft.
3635
common:
3736
taskfile: "{{.GO_TOOLS_TASKS}}"
3837
flatten: true
38+
vars:
39+
RELEASE:
40+
map:
41+
elsewhere: release.yml
3942

4043
tasks:
4144
default:

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/opencontainers/image-spec v1.1.1
1616
github.com/spf13/cobra v1.10.2
1717
github.com/spf13/pflag v1.1.0
18-
github.com/spin-stack/go-tools v0.20261122.5
18+
github.com/spin-stack/go-tools v0.20261122.6
1919
github.com/tailscale/hujson v0.0.0-20260727124030-b80ff77dac4f
2020
github.com/testcontainers/testcontainers-go v0.45.0
2121
go.uber.org/mock v0.6.0

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiT
112112
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
113113
github.com/spf13/pflag v1.1.0 h1:6W6MbVUrnMb8PEhjkqwsVLY7ryuzRfFHF4mQd7L94ag=
114114
github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
115-
github.com/spin-stack/go-tools v0.20261122.5 h1:KsHTqIpBGuCc2kyB+0xn6oU+QiiSerC3fuWRJ1KoesA=
116-
github.com/spin-stack/go-tools v0.20261122.5/go.mod h1:E+Fw4T6GukPSmPlRNFT3OymrKnHzTGX1efcz1+l812c=
115+
github.com/spin-stack/go-tools v0.20261122.6 h1:iL4HeSKi6TR6zai1WyGOnHq2/M6WqI6rIyeIGMQGMQ8=
116+
github.com/spin-stack/go-tools v0.20261122.6/go.mod h1:E+Fw4T6GukPSmPlRNFT3OymrKnHzTGX1efcz1+l812c=
117117
github.com/stretchr/objx v0.5.3 h1:jmXUvGomnU1o3W/V5h2VEradbpJDwGrzugQQvL0POH4=
118118
github.com/stretchr/objx v0.5.3/go.mod h1:rDQraq+vQZU7Fde9LOZLr8Tax6zZvy4kuNKF+QYS+U0=
119119
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=

0 commit comments

Comments
 (0)