-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
72 lines (65 loc) · 1.6 KB
/
.goreleaser.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm
- arm64
ldflags:
- -s -w -X main.DisableSelfUpdate=true -X main.Version={{.Version}} -X main.Build={{.Commit}} -X main.ProgramName={{.ProjectName}}
main: ./cmd/main.go
archives:
-
id: main
# replacements:
# darwin: Darwin
# linux: Linux
# 386: i386
# amd64: x86_64
files:
- README.md
- LICENSE
- build/completions
- src: 'build/completions/*'
dst: completions
strip_parent: true
checksum:
name_template: "checksums.txt"
algorithm: sha256
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- name: "{{ .ProjectName }}"
goarm: 6
repository:
owner: sha1n
name: homebrew-tap
url_template: "https://github.com/sha1n/{{ .ProjectName }}/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
directory: Formula
homepage: "https://sha1n.github.io/{{ .ProjectName }}/"
description: "CLI benchmarking tool"
license: "MIT"
test: |
system "#{bin}/{{ .ProjectName }} --version"
install: |
bin.install "{{ .ProjectName }}"
bash_completion.install "completions/bert.bash" => "bert"
fish_completion.install "completions/bert.fish" => "bert"
zsh_completion.install "completions/_bert" => "_bert"