-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
62 lines (61 loc) · 1.56 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
- PACKAGE=github.com/padok-team/guacamole
ldflags:
- -X "github.com/padok-team/guacamole/internal/version.Version={{.Env.VERSION}}"
- -X "github.com/padok-team/guacamole/internal/version.CommitHash={{.Env.COMMIT_HASH}}"
- -X "github.com/padok-team/guacamole/internal/version.BuildTimestamp={{.Env.BUILD_TIMESTAMP}}"
goos:
- linux
- windows
- darwin
main: ./
binary: guacamole
archives:
- format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
use: github
groups:
- title: Features
regexp: "^.*(feat:|feat\\/|feat(\\([^\\)]*\\)):).*"
order: 0
- title: "Bug fixes"
regexp: "^.*(fix:|fix\\/|fix(\\([^\\)]*\\)):).*"
order: 1
- title: Others
order: 999
filters:
exclude:
- "^docs"
- "^test"
- "^style"
- "^refactor"
- "^build"
- "^ci"
- "^chore(release)"
brews:
# Post latest version
- name: guacamole
homepage: https://github.com/padok-team/guacamole
repository:
owner: padok-team
name: homebrew-tap
token: "{{ .Env.HOMEBREW_PAT }}"
# Post tagged version because alternative_names configuration is only for goreleaser pro version
- name: "{{ .Env.RELEASE_NAME }}"
homepage: https://github.com/padok-team/guacamole
repository:
owner: padok-team
name: homebrew-tap
token: "{{ .Env.HOMEBREW_PAT }}"