Skip to content

build(tasks): the include states that release.yml releases this repository - #86

Merged
aledbf merged 1 commit into
mainfrom
tasks/release-stated
Nov 22, 2026
Merged

aledbf merged 1 commit into
mainfrom
tasks/release-stated

Conversation

@aledbf

@aledbf aledbf commented Nov 22, 2026

Copy link
Copy Markdown
Member

Why

The maintenance tasks every spin-stack repository has (versions, bump, release, lint:workflows, consumers) should mean the same thing in every repository. #85 took them from go-tools and was merged with an include that states nothing about releasing, and a comment that said why. go-tools v20261122.06 now cuts a release only where the include says how, in a map named RELEASE. This tool is released by release.yml, and the include should say so where a check can read it.

What changed

  • Taskfile.yml: the include states RELEASE, a map with elsewhere: release.yml, in block style as the rest of the file is. The comment no longer names GATE_WORKFLOW and GATE_JOBS, which nothing reads.
  • go.mod: github.com/spin-stack/go-tools from v0.20261122.5 to v0.20261122.6. go mod tidy moved nothing else.

Scope

  • How this tool is released does not change. release.yml, .goreleaser.yml and every release:* task are untouched.
  • versions.yaml gains no bump: field. No command of this repository moves a pin: refresh runs go-tools' versions refresh -propose node.

Blast Radius

  • go tool task release refused on main already, since go-tools' release, with states no RELEASE. It now refuses with the reason: release: this repository releases, but not with this task: release.yml does. Exit 201 in both.
  • go tool task refresh and the versions gate are of go-tools v0.20261122.6: a refresh does not move a pin backwards.
  • No release, tag, image or published artefact is touched.
  • This diff touches Taskfile.yml and go.mod, so the whole runtime matrix runs.

Verification

  • go tool task release RELEASE_DRY=1: the refusal above, exit 201.
  • The same with GATE_WORKFLOW=ci.yml GATE_JOBS=Gate 'RELEASE={proof: ci.yml, jobs: Gate}' RELEASE_PROOF=ci.yml RELEASE_JOBS=Gate on the command line, with the same values exported in the environment, and with go-cli.yml in place of ci.yml: the same refusal, exit 201.
  • gh release list and git ls-remote --tags origin, before and after: identical (4 releases, 10 refs).
  • go tool task versions: the same table as before the change, 2 behind, no row not read, exit 201.
  • go tool task --list: identical to main's.
  • go tool task lint:workflows, TestVersionsYAMLIsTheOnlyPin, go tool task lint, go tool task test:unit: exit 0.
  • Left to CI: test:race, coverage, e2e, the parity lanes and build:cross.

Part of spin-stack/go-tools#135

🤖 Generated with Claude Code

…itory

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>
@aledbf
aledbf merged commit 524c265 into main Nov 22, 2026
13 checks passed
@aledbf
aledbf deleted the tasks/release-stated branch November 22, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant