Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.tap_token.outputs.token }}

- name: Publish public release assets to homebrew-tap
env:
GH_TOKEN: ${{ steps.tap_token.outputs.token }}
run: |
tag="${GITHUB_REF#refs/tags/}"
dist="dist"

gh release create "${tag}" \
--repo dnsimple/homebrew-tap \
--title "${tag}" \
--notes-file /tmp/release-notes.md

gh release upload "${tag}" \
--repo dnsimple/homebrew-tap \
"${dist}"/*.tar.gz "${dist}"/*.zip "${dist}"/checksums.txt
3 changes: 0 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ brews:
# that requires verified signatures.
commit_author:
use_github_app_token: true
# Release artifacts remain public on the homebrew-tap releases page
# while the cli repo itself is private.
url_template: "https://github.com/dnsimple/homebrew-tap/releases/download/v{{ .Version }}/{{ .ArtifactName }}"
homepage: "https://dnsimple.com"
description: "DNSimple command-line tool."
license: "MIT"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This project uses [Semantic Versioning 2.0.0](http://semver.org/), the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

- Release artifacts are published only to `dnsimple/cli`. The `dnsimple/homebrew-tap` release mirror is removed, and the install scripts and the Homebrew formula now download from `dnsimple/cli`.

## 0.10.0 - 2026-06-15

### Changed
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ curl -fsSL http://cli-beta.dnsimple.com/install.sh | sh

The install URL will eventually move to `https://dnsimple.com/install.sh`.

The install script downloads release artifacts from the public `dnsimple/homebrew-tap` release mirror.
The install script downloads release artifacts from the `dnsimple/cli` releases.

### Windows

Expand All @@ -30,11 +30,11 @@ The install script downloads release artifacts from the public `dnsimple/homebre
irm "https://cli-beta.dnsimple.com/install.ps1" | iex
```

The installer downloads release artifacts from the public `dnsimple/homebrew-tap` release mirror.
The installer downloads release artifacts from the `dnsimple/cli` releases.

#### Manual ZIP install

1. Download the latest `dnsimple_<version>_windows_amd64.zip` or `dnsimple_<version>_windows_arm64.zip` from the [public release mirror](https://github.com/dnsimple/homebrew-tap/releases/latest) page.
1. Download the latest `dnsimple_<version>_windows_amd64.zip` or `dnsimple_<version>_windows_arm64.zip` from the [latest release](https://github.com/dnsimple/cli/releases/latest) page.
2. Extract `dnsimple.exe`.
3. Move `dnsimple.exe` to a directory on your `PATH`, such as `%USERPROFILE%\bin`.
4. Open a new terminal window and verify the installation:
Expand Down
1 change: 0 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ This document describes the steps to release a new version of DNSimple/CLI.
## Post-release

- Verify the GitHub release was created in `dnsimple/cli`
- Verify the public release mirror was updated in `dnsimple/homebrew-tap`
- Verify the Homebrew formula was updated in `dnsimple/homebrew-tap`
- Announce the release if necessary
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ param (

$ErrorActionPreference = "Stop"

$Repo = "dnsimple/homebrew-tap"
$Repo = "dnsimple/cli"
$ExeName = "dnsimple.exe"

function Write-Step {
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Examples:
#
# curl -fsSL https://raw.githubusercontent.com/dnsimple/cli/main/install.sh | sh
# curl -fsSL .../install.sh | sh -s -- --base-url https://github.com/dnsimple/homebrew-tap/releases
# curl -fsSL .../install.sh | sh -s -- --base-url https://github.com/dnsimple/cli/releases

set -e

Expand All @@ -19,7 +19,7 @@ YELLOW="$(tput setaf 3 2>/dev/null || printf '')"
BLUE="$(tput setaf 4 2>/dev/null || printf '')"
NO_COLOR="$(tput sgr0 2>/dev/null || printf '')"

DEFAULT_BASE_URL="https://github.com/dnsimple/homebrew-tap/releases"
DEFAULT_BASE_URL="https://github.com/dnsimple/cli/releases"
BINARY_NAME="dnsimple"

info() {
Expand Down