File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 13
13
14
14
# binary
15
15
vl
16
+
17
+ 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
+ builds :
8
+ - env :
9
+ - CGO_ENABLED=0
10
+ goos :
11
+ - linux
12
+ - windows
13
+ - darwin
14
+ main : ./cmd/vl
15
+
16
+ archives :
17
+ - format : tar.gz
18
+ # this name template makes the OS and Arch compatible with the results of uname.
19
+ name_template : >-
20
+ {{ .ProjectName }}_
21
+ {{- title .Os }}_
22
+ {{- if eq .Arch "amd64" }}x86_64
23
+ {{- else if eq .Arch "386" }}i386
24
+ {{- else }}{{ .Arch }}{{ end }}
25
+ {{- if .Arm }}v{{ .Arm }}{{ end }}
26
+ # use zip for windows archives
27
+ format_overrides :
28
+ - goos : windows
29
+ format : zip
30
+ checksum :
31
+ name_template : ' checksums.txt'
32
+ snapshot :
33
+ name_template : " {{ incpatch .Version }}-next"
34
+ changelog :
35
+ sort : asc
36
+ filters :
37
+ exclude :
38
+ - ' ^docs:'
39
+ - ' ^test:'
40
+
41
+ # The lines beneath this are called `modelines`. See `:help modeline`
42
+ # Feel free to remove those if you don't want/use them.
43
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
44
+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
You can’t perform that action at this time.
0 commit comments