Repository navigation
fix(release): restore validated tag and Homebrew publication - #52
Merged
Merged
Conversation
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.
Master's release pipeline cannot lint the Go 1.27.1 module because its pinned golangci-lint binary was built with Go 1.26. Use the module's Go version, golangci-lint v2.15.0 and supported action runtimes. Run the existing lint, tests and four platform builds on pull requests before releasing. Apply the import grouping, octal-literal syntax and redundant-type cleanups reported by lint; behavior and test coverage are unchanged.
The tag-triggered release retains those gates, gets the contents permission required to publish, uses the pushed tag and commit for release metadata, and uploads all four binaries with SHA-256 checksums. Missing assets fail publication.
The Homebrew updater prepares a review branch from master because master requires a pull request. It supports manual dispatch for releases published by the workflow token, checks archive downloads, and builds the whole Go package. A draft formula PR will be opened and validated as part of this release; repository settings and credentials are unchanged.
Validation: all six checks pass on cb43c3d in run 40644254022: lint, tests and Linux amd64, macOS amd64/arm64 and Windows amd64 builds. Local Go 1.27.1 tests pass (optional Ark live test skips without credentials), golangci-lint v2.15.0 reports zero issues, actionlint v1.7.12 passes, workflow YAML and embedded shell scripts parse, and git diff --check passes.