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