Skip to content

Publish release artifacts only to dnsimple/cli - #69

Merged
weppos merged 1 commit into
mainfrom
dazzling-antonelli-0dce5b
Aug 24, 2026
Merged

Publish release artifacts only to dnsimple/cli#69
weppos merged 1 commit into
mainfrom
dazzling-antonelli-0dce5b

Conversation

@weppos

@weppos weppos commented Aug 24, 2026

Copy link
Copy Markdown
Member

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 in dnsimple/homebrew-tap. The mirror existed only because the dnsimple/cli repository was private.

The repository is public now, so the mirror is removed and dnsimple/cli is the only place that holds the release artifacts. The install scripts, the Homebrew formula, and the documentation now point at dnsimple/cli.

🔍 QA

Scenario: Install script on macOS or Linux

  • Run sh install.sh from this branch.
  • Confirm the script reports a version and downloads the archive from https://github.com/dnsimple/cli/releases.
  • Run dnsimple version and confirm it prints the installed version.

Scenario: Install script on Windows

  • Run install.ps1 from this branch in PowerShell.
  • Confirm the script downloads the ZIP file from https://github.com/dnsimple/cli/releases.
  • Run dnsimple version and confirm it prints the installed version.

📋 Deployment Pre/Post tasks

  • POST: Review the dnsimple/homebrew-tap permissions of the release GitHub App and remove the release creation permission if it is not necessary.

:shipit: Deployment Verification

N/A

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 weppos self-assigned this Aug 24, 2026
@weppos weppos added the task Task to be performed label Aug 24, 2026
@weppos
weppos merged commit 4dcbce6 into main Aug 24, 2026
8 checks passed
@weppos
weppos deleted the dazzling-antonelli-0dce5b branch August 24, 2026 09:18
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

task Task to be performed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant