File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ dist /
Original file line number Diff line number Diff line change
1
+ # This is an example .goreleaser.yml file with some sensible defaults.
2
+ # Make sure to check the documentation at https://goreleaser.com
3
+ before :
4
+ hooks :
5
+ # You may remove this if you don't use go modules.
6
+ - go mod tidy
7
+ # you may remove this if you don't need go generate
8
+ - go generate ./...
9
+ builds :
10
+ - env :
11
+ - CGO_ENABLED=0
12
+ goos :
13
+ - linux
14
+ - windows
15
+ - darwin
16
+ goarch :
17
+ - amd64
18
+ - 386
19
+ - arm
20
+ - arm64
21
+ archives :
22
+ - format : tar.gz
23
+ # this name template makes the OS and Arch compatible with the results of uname.
24
+ name_template : >-
25
+ {{ .ProjectName }}_
26
+ {{- title .Os }}_
27
+ {{- if eq .Arch "amd64" }}x86_64
28
+ {{- else if eq .Arch "386" }}i386
29
+ {{- else }}{{ .Arch }}{{ end }}
30
+ {{- if .Arm }}v{{ .Arm }}{{ end }}
31
+ # use zip for windows archives
32
+ format_overrides :
33
+ - goos : windows
34
+ format : zip
35
+ checksum :
36
+ name_template : ' checksums.txt'
37
+ snapshot :
38
+ name_template : " {{ incpatch .Version }}-next"
39
+ changelog :
40
+ sort : asc
41
+ filters :
42
+ exclude :
43
+ - ' ^docs:'
44
+ - ' ^test:'
45
+
46
+ # The lines beneath this are called `modelines`. See `:help modeline`
47
+ # Feel free to remove those if you don't want/use them.
48
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
49
+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
You can’t perform that action at this time.
0 commit comments