chore(scripts): remove releaser v2 flow and drop v1 naming#27421
Draft
f0ssel wants to merge 1 commit into
Draft
Conversation
Make the interactive release wizard the only release path. - Delete .github/workflows/tag-and-release.yaml and scripts/releaser/v2. - Move scripts/releaser/v1 into scripts/releaser (package main) and drop the --legacy flag and v2 subcommands from main.go. - Update scripts/release.sh to invoke the wizard directly.
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.
Summary
Removes the GitHub Actions-driven releaser v2 pipeline so the interactive release wizard is the only release path, and drops the
v1naming now that it is the sole implementation.Changes
.github/workflows/tag-and-release.yaml(the v2 workflow).scripts/releaser/v2/.scripts/releaser/v1/intoscripts/releaser/aspackage main.scripts/releaser/main.goto a single wizard command: drop the--legacyflag and the v2rc/branch/releasesubcommands and hidden CI compat commands.--dry-runis preserved.scripts/release.shto rungo run ./scripts/releaser "$@"(no--legacy).The legacy
release.yamlworkflow (triggered byscripts/release.sh) is unchanged and remains the release pipeline.Validation
go build ./scripts/releaser/...go test ./scripts/releaser/...go vet+golangci-lint run ./scripts/releaser/...gofmt -lcleanNote
The GPG signing key check removal is handled in a stacked follow-up PR based on this branch.
Implementation plan
scripts/releaser/v2/+.github/workflows/tag-and-release.yaml(usesgo run ./scripts/releaser prepare-release|generate-notes).v2was imported only bymain.go; the workflow was referenced nowhere else.scripts/releaser/v1/, reached via--legacy, drivingrelease.yaml(triggered byscripts/release.sh).docs/referenced the releaser tool or these workflows.v1/*up toscripts/releaser/(package main, including test files); rewritemain.goto a single wizard command; updaterelease.sh.Generated by Coder Agents on behalf of @f0ssel.