File tree Expand file tree Collapse file tree 2 files changed +94
-0
lines changed
Expand file tree Collapse file tree 2 files changed +94
-0
lines changed Original file line number Diff line number Diff line change 1616
1717# Dependency directories (remove the comment below to include it)
1818# vendor/
19+
20+ dist /
Original file line number Diff line number Diff line change 1+ # Make sure to check the documentation at https://goreleaser.com
2+
3+ # The lines below are called `modelines`. See `:help modeline`
4+ # Feel free to remove those if you don't want/need to use them.
5+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
6+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
7+
8+ version : 1
9+
10+ before :
11+ hooks :
12+ - go mod tidy
13+
14+ # export GITTREE=`git rev-list HEAD | wc -l | tr -d '[[:space:]]'`
15+
16+ builds :
17+ - main : ./cmd/turochamp
18+ id : " turochamp"
19+ binary : turochamp
20+ targets :
21+ - linux_amd64
22+ - linux_arm64
23+ - linux_arm
24+ - darwin_amd64
25+ - darwin_arm64
26+ - windows_amd64
27+ ldflags :
28+ - -s -w -X "github.com/seekerror/build.GitTree={{.Env.GITTREE}}" -X "github.com/seekerror/build.GitHash={{.ShortCommit}}"
29+
30+ - main : ./cmd/sargon
31+ id : " sargon"
32+ binary : sargon
33+ targets :
34+ - linux_amd64
35+ - linux_arm64
36+ - linux_arm
37+ - darwin_amd64
38+ - darwin_arm64
39+ - windows_amd64
40+ ldflags :
41+ - -s -w -X "github.com/seekerror/build.GitTree={{.Env.GITTREE}}" -X "github.com/seekerror/build.GitHash={{.ShortCommit}}"
42+
43+ - main : ./cmd/bernstein
44+ id : " bernstein"
45+ binary : bernstein
46+ targets :
47+ - linux_amd64
48+ - linux_arm64
49+ - linux_arm
50+ - darwin_amd64
51+ - darwin_arm64
52+ - windows_amd64
53+ ldflags :
54+ - -s -w -X "github.com/seekerror/build.GitTree={{.Env.GITTREE}}" -X "github.com/seekerror/build.GitHash={{.ShortCommit}}"
55+
56+ - main : ./cmd/livechess-uci
57+ id : " livechess-uci"
58+ binary : livechess-uci
59+ targets :
60+ - linux_amd64
61+ - linux_arm64
62+ - linux_arm
63+ - darwin_amd64
64+ - darwin_arm64
65+ - windows_amd64
66+ ldflags :
67+ - -s -w -X "github.com/seekerror/build.GitTree={{.Env.GITTREE}}" -X "github.com/seekerror/build.GitHash={{.ShortCommit}}"
68+
69+ archives :
70+ - format : tar.gz
71+ # this name template makes the OS and Arch compatible with the results of `uname`.
72+ name_template : >-
73+ {{ .ProjectName }}_
74+ {{- title .Os }}_
75+ {{- if eq .Arch "amd64" }}x86_64
76+ {{- else if eq .Arch "386" }}i386
77+ {{- else }}{{ .Arch }}{{ end }}
78+ {{- if .Arm }}v{{ .Arm }}{{ end }}
79+ # use zip for windows archives
80+ format_overrides :
81+ - goos : windows
82+ format : zip
83+
84+ release :
85+ draft : true
86+
87+ changelog :
88+ sort : asc
89+ filters :
90+ exclude :
91+ - " ^docs:"
92+ - " ^test:"
You can’t perform that action at this time.
0 commit comments