Publish release artifacts only to dnsimple/cli - #69
Merged
Conversation
The homebrew-tap release mirror existed because the cli repository was private. The repository is public now, so the mirror only duplicates the release that GoReleaser already publishes to dnsimple/cli. Remove the mirror publishing step, drop the formula url_template override, and point the install scripts at the dnsimple/cli releases. The tap token stays: the formula commit still needs it.
weppos
added a commit
that referenced
this pull request
Aug 24, 2026
The new release notice now prints a coloured headline with the version transition, the upgrade command for the detected install method, and the release page URL, with a blank line above and below. The URL prints for every install method, which replaces the `Visit .../latest to upgrade.` line that only appeared when the install method was unknown. `--no-color` and the `NO_COLOR` environment variable turn the colour off. This is the first code that reads the `--no-color` flag; the `NoColor` field on `output.Printer` stays unused. `DefaultReleaseURL` now names `dnsimple/cli`. #69 removed the `dnsimple/homebrew-tap` release mirror that the constant pointed at, so both the latest version lookup and the release page URL named a repository that no longer holds the artifacts.
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.
The release pipeline published the artifacts twice: GoReleaser created the release in
dnsimple/cli, and a second step copied the same archives to a release indnsimple/homebrew-tap. The mirror existed only because thednsimple/clirepository was private.The repository is public now, so the mirror is removed and
dnsimple/cliis the only place that holds the release artifacts. The install scripts, the Homebrew formula, and the documentation now point atdnsimple/cli.🔍 QA
Scenario: Install script on macOS or Linux
sh install.shfrom this branch.https://github.com/dnsimple/cli/releases.dnsimple versionand confirm it prints the installed version.Scenario: Install script on Windows
install.ps1from this branch in PowerShell.https://github.com/dnsimple/cli/releases.dnsimple versionand confirm it prints the installed version.📋 Deployment Pre/Post tasks
dnsimple/homebrew-tappermissions of the release GitHub App and remove the release creation permission if it is not necessary.N/A