Skip to content
Draft
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
1 change: 1 addition & 0 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ jobs:
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
25 changes: 23 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

repository:
owner: StackExchange
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"

release:
draft: true
prerelease: auto
Expand All @@ -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)
Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion documentation/getting-started/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading