This commit is contained in:
Jeffrey Cafferata 2025-12-06 21:39:56 +08:00 committed by GitHub
commit 9a3aa0fb52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 3 deletions

View file

@ -61,3 +61,4 @@ jobs:
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

View file

@ -153,6 +153,27 @@ checksum:
snapshot:
version_template: "{{ incpatch .Version }}-next"
homebrew_casks:
-
name: dnscontrol
url:
template: "https://github.com/StackExchange/dnscontrol/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
commit_msg_template: "Brew cask update for {{ .ProjectName }} version {{ .Tag }}"
directory: Casks
homepage: "https://docs.dnscontrol.org/"
description: "DNSControl: Infrastructure as Code for DNS Zones"
license: "MIT"
conflicts:
- formula: dnscontrol
repository:
owner: StackExchange
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
release:
draft: true
prerelease: auto
@ -171,7 +192,7 @@ release:
##### Install with [Homebrew](https://brew.sh) (recommended)
```shell
brew install dnscontrol
brew install StackExchange/tap/dnscontrol
```
##### Using with [Docker](https://www.docker.com)
@ -199,7 +220,7 @@ release:
#### Update with [Homebrew](https://brew.sh)
```shell
brew upgrade dnscontrol
brew upgrade StackExchange/tap/dnscontrol
```
Alternatively, you can grab the latest binary (or the apt/rpm/deb package) from this page.

View file

@ -15,7 +15,7 @@ Choose one of the following installation methods:
On macOS (or Linux) you can install it using [Homebrew](https://brew.sh).
```shell
brew install dnscontrol
brew install StackExchange/tap/dnscontrol
```
### Docker