Repository navigation
build(tasks): the include states that release.yml releases this repository - #86
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-toolsv20261122.06now cuts a release only where the include says how, in a map namedRELEASE. This tool is released byrelease.yml, and the include should say so where a check can read it.What changed
Taskfile.yml: the include statesRELEASE, a map withelsewhere: release.yml, in block style as the rest of the file is. The comment no longer namesGATE_WORKFLOWandGATE_JOBS, which nothing reads.go.mod:github.com/spin-stack/go-toolsfromv0.20261122.5tov0.20261122.6.go mod tidymoved nothing else.Scope
release.yml,.goreleaser.ymland everyrelease:*task are untouched.versions.yamlgains nobump:field. No command of this repository moves a pin:refreshruns go-tools'versions refresh -propose node.Blast Radius
go tool task releaserefused on main already, since go-tools' release, withstates 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 refreshand the versions gate are of go-tools v0.20261122.6: a refresh does not move a pin backwards.Taskfile.ymlandgo.mod, so the whole runtime matrix runs.Verification
go tool task release RELEASE_DRY=1: the refusal above, exit 201.GATE_WORKFLOW=ci.yml GATE_JOBS=Gate 'RELEASE={proof: ci.yml, jobs: Gate}' RELEASE_PROOF=ci.yml RELEASE_JOBS=Gateon the command line, with the same values exported in the environment, and withgo-cli.ymlin place ofci.yml: the same refusal, exit 201.gh release listandgit 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.test:race,coverage, e2e, the parity lanes andbuild:cross.Part of spin-stack/go-tools#135
🤖 Generated with Claude Code