generated from ZEISS/template-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
64 lines (55 loc) · 1.12 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
project_name: terraform-provider-openfga
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
- go mod download
builds:
- id: main
binary: terraform-provider-openfga
main: ./main.go
goos:
- windows
- darwin
- linux
goarch:
- 386
- amd64
- arm
- arm64
ldflags:
- -s -w -X cmd.version={{.Version}}
no_unique_dist_dir: true
archives:
- id: main
builds:
- main
name_template: "terraform_provider_openfga_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
release:
header: |
## Changelog ({{ .Date }})
Welcome to this new release! We hope you enjoy the changes we've made.
changelog:
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Bug fixes"
regexp: '^.*?bug(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Others
order: 999
sort: asc
filters:
exclude:
- "^docs:"
- typo
- (?i)foo
gomod:
proxy: true
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
snapshot:
name_template: SNAPSHOT-{{.ShortCommit}}