File tree Expand file tree Collapse file tree 1 file changed +43
-36
lines changed Expand file tree Collapse file tree 1 file changed +43
-36
lines changed Original file line number Diff line number Diff line change 1- # This is an example goreleaser.yaml file with some sane defaults.
2- # Make sure to check the documentation at http://goreleaser.com
1+ # Visit https://goreleaser.com for documentation on how to customize this
2+ # behavior.
3+ before :
4+ hooks :
5+ - go mod tidy
36builds :
47- env :
5- - CGO_ENABLED=0
6- binary : terraform-provider-sumologic
8+ - CGO_ENABLED=0
9+ mod_timestamp : ' {{ .CommitTimestamp }}'
10+ flags :
11+ - -trimpath
12+ ldflags :
13+ - ' -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
714 goos :
8- - darwin
9- - freebsd
10- - linux
11- - openbsd
12- - solaris
13- - windows
15+ - freebsd
16+ - windows
17+ - linux
18+ - darwin
1419 goarch :
15- - 386
16- - amd64
17- - arm
20+ - amd64
21+ - ' 386'
22+ - arm
23+ - arm64
1824 ignore :
19- - goos : darwin
20- goarch : 386
21- - goos : darwin
22- goarch : arm
23- archive :
24- name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
25- replacements :
26- darwin : macOS
27- linux : Linux
28- windows : Windows
29- freebsd : Freebsd
30- 386 : 32-bit
31- amd64 : 64-bit
32- solaris : solaris
33- format : zip
25+ - goos : darwin
26+ goarch : ' 386'
27+ binary : ' {{ .ProjectName }}_v{{ .Version }}'
28+ archives :
29+ - format : zip
30+ name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
3431checksum :
35- name_template : ' checksums.txt'
36- snapshot :
37- name_template : " {{ .Tag }}-next"
32+ name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
33+ algorithm : sha256
34+ signs :
35+ - artifacts : checksum
36+ args :
37+ # if you are using this is a GitHub action or some other automated pipeline, you
38+ # need to pass the batch flag to indicate its not interactive.
39+ - " --batch"
40+ - " --local-user"
41+ - " {{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
42+ - " --output"
43+ - " ${signature}"
44+ - " --detach-sign"
45+ - " ${artifact}"
46+ release :
47+ # Visit your project's GitHub Releases page to publish this release.
48+ draft : true
3849changelog :
39- sort : asc
40- filters :
41- exclude :
42- - ' ^docs:'
43- - ' ^test:'
50+ skip : true
You can’t perform that action at this time.
0 commit comments