-
Notifications
You must be signed in to change notification settings - Fork 18
/
.goreleaser.yml
94 lines (86 loc) · 1.84 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
before:
hooks:
- go mod verify
- go mod vendor
builds:
- id: antidot-linux
binary: antidot
ldflags:
- -s -w -X 'main.version={{ .Version }}'
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- id: antidot-darwin
binary: antidot
ldflags:
- -s -w -X 'main.version={{ .Version }}'
env:
- CGO_ENABLED=0
goos:
- darwin
goarch:
- amd64
archives:
- id: release
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format: tar.gz
builds:
- antidot-linux
- antidot-darwin
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- id: binaries
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format: binary
builds:
- antidot-linux
- antidot-darwin
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- id: aur
name_template: "aur_{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- antidot-linux
checksum:
name_template: checksums.txt
algorithm: sha256
release:
ids:
- release
- binaries
prerelease: auto
changelog:
sort: asc
filters:
exclude:
- '^docs'
- '^test'
- '^tests'
- '^chore'
brews:
- name: antidot
folder: Formula
homepage: "https://github.com/doron-cohen/antidot"
description: "Cleans up your $HOME from those pesky dotfiles"
url_template: "https://github.com/doron-cohen/antidot/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
skip_upload: false
ids:
- release
tap:
owner: doron-cohen
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: goreleaserbot
email: goreleaser@doron.dev