]>
Commit | Line | Data |
---|---|---|
1 | version: 1 | |
2 | ||
3 | before: | |
4 | hooks: | |
5 | - go mod tidy | |
6 | ||
7 | builds: | |
8 | - id: "mobius-hotline-server" | |
9 | main: ./cmd/mobius-hotline-server | |
10 | binary: mobius-hotline-server | |
11 | env: | |
12 | - CGO_ENABLED=0 | |
13 | goarch: | |
14 | - amd64 | |
15 | - arm64 | |
16 | - arm | |
17 | goos: | |
18 | - linux | |
19 | - windows | |
20 | - darwin | |
21 | # - id: "mobius-hotline-client" | |
22 | # main: ./cmd/mobius-hotline-client | |
23 | # binary: mobius-hotline-client | |
24 | # env: | |
25 | # - CGO_ENABLED=0 | |
26 | # goarch: | |
27 | # - amd64 | |
28 | # - arm64 | |
29 | # goos: | |
30 | # - linux | |
31 | # - windows | |
32 | # - darwin | |
33 | ||
34 | archives: | |
35 | - id: "mobius-hotline-server" | |
36 | format: tar.gz | |
37 | # this name template makes the OS and Arch compatible with the results of `uname`. | |
38 | name_template: >- | |
39 | {{ .ProjectName }}_server_ | |
40 | {{- title .Os }}_ | |
41 | {{- if eq .Arch "amd64" }}x86_64 | |
42 | {{- else if eq .Arch "386" }}i386 | |
43 | {{- else }}{{ .Arch }}{{ end }} | |
44 | {{- if .Arm }}v{{ .Arm }}{{ end }} | |
45 | # use zip for windows archives | |
46 | format_overrides: | |
47 | - goos: windows | |
48 | format: zip | |
49 | # - id: "mobius-hotline-client" | |
50 | # format: tar.gz | |
51 | # # this name template makes the OS and Arch compatible with the results of `uname`. | |
52 | # name_template: >- | |
53 | # {{ .ProjectName }}_client_ | |
54 | # {{- title .Os }}_ | |
55 | # {{- if eq .Arch "amd64" }}x86_64 | |
56 | # {{- else if eq .Arch "386" }}i386 | |
57 | # {{- else }}{{ .Arch }}{{ end }} | |
58 | # {{- if .Arm }}v{{ .Arm }}{{ end }} | |
59 | # # use zip for windows archives | |
60 | # format_overrides: | |
61 | # - goos: windows | |
62 | # format: zip | |
63 | ||
64 | changelog: | |
65 | sort: asc | |
66 | filters: | |
67 | exclude: | |
68 | - "^docs:" | |
69 | - "^test:" |