Skip to content
Merged
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
21 changes: 16 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,33 @@ archives:
checksum:
name_template: checksums.txt

brews:
# homebrew_casks, not the deprecated `brews`. GoReleaser's formula generator
# produced, in its own words, "hackyish formulas that would install the
# pre-compiled binaries" — a formula is meant to build from source, and this
# project ships binaries. Casks are the supported shape for that now, on Linux
# as well as macOS: a cask is Linux-capable unless it declares `depends_on
# macos` (see Cask#supports_linux? in Homebrew), and the generated cask below
# declares no such dependency.
#
# Migrating renames the published file from Formula/namecom.rb to
# Casks/namecom.rb in the tap. Existing installs need tap_migrations.json in
# the tap repository to follow that rename; without it `brew upgrade` keeps
# resolving the stale formula. See the PR that introduced this.
homebrew_casks:
- name: namecom
binaries:
- namecom
homepage: https://github.com/patramsey/namecom-cli
description: CLI for the name.com domain registrar API
license: MIT
directory: Formula
directory: Casks
repository:
owner: patramsey
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
install: bin.install "namecom"
test: |
system "#{bin}/namecom", "--version"

changelog:
sort: asc
Expand Down