-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yaml
41 lines (37 loc) · 1.03 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
project_name: "dnsee"
# before are hooks that will be run before any builds are done, so good to put install scripts and stuff that your builds need here
before:
hooks:
# Remove unused packaged from the build process
- go mod tidy
- go generate
builds:
- main: ./main.go
binary: dnsee
goos: ["linux", "darwin", "windows"]
goarch: ["386", "amd64", "arm64"]
ldflags:
- -s -w -X "github.com/bschaatsbergen/dnsee/cmd.version={{.Version}}"
env:
- CGO_ENABLED=0
changelog:
sort: "asc"
filters:
exclude: ["^docs:", "demo", "^hugo:", "Merge pull request", "Merge branch"]
brews:
- tap:
owner: bschaatsbergen
name: homebrew-dnsee
name: dnsee
homepage: "https://github.com/bschaatsbergen/dnsee"
description: "Check DNS configurations quickly"
license: "MIT"
skip_upload: auto
commit_author:
name: Bruno Schaatsbergen
email: git@bschaatsbergen.com
folder: Formula
install: |-
bin.install "dnsee"
test: |
system "#{bin}/dnsee -v"