File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ version : 2
32env :
43 - CGO_ENABLED=0
54before :
@@ -34,7 +33,7 @@ builds:
3433 - ' -s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
3534 goos :
3635 - freebsd
37- - openbsd
36+ - openbsd
3837 - windows
3938 - linux
4039 - darwin
@@ -50,30 +49,27 @@ builds:
5049 goarch : amd64
5150 binary : ' {{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
5251archives :
53- - format : zip
52+ - formats : zip
5453 files :
5554 - none*
56- name_template : ' {{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
5755checksum :
5856 name_template : ' {{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
5957 algorithm : sha256
6058signs :
6159 - artifacts : checksum
6260 args :
63- # if you are using this is in a GitHub action or some other automated pipeline, you
64- # need to pass the batch flag to indicate its not interactive.
6561 - " --batch"
6662 - " --local-user"
6763 - " {{ .Env.GPG_FINGERPRINT }}"
6864 - " --output"
6965 - " ${signature}"
7066 - " --detach-sign"
7167 - " ${artifact}"
72-
7368release :
7469 draft : true
7570 extra_files :
7671 - glob : ./docs.zip
77-
7872changelog :
79- skip : true
73+ filters :
74+ exclude :
75+ - ' *'
You can’t perform that action at this time.
0 commit comments