-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
93 lines (89 loc) · 1.75 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
before:
hooks:
- go mod tidy
builds:
-
id: "Server"
main: ./cmd/RelativeInputServer
binary: RelativeInputServer
env:
- CGO_ENABLED=0
goos:
- windows
ldflags: -H=windowsgui
-
id: "ClientAddin"
main: ./windows/virtualchanneladdin
binary: RelativeInput
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
goarch:
- amd64
goos:
- windows
buildmode: "c-shared"
-
id: "Client"
main: ./cmd/RelativeInputClient
binary: RelativeInputClient
env:
- CGO_ENABLED=0
goarch:
- amd64
goos:
- windows
ldflags: -H=windowsgui
archives:
-
id: "ServerArchive"
builds:
- Server
replacements:
windows: Windows
amd64: x86_64
name_template: "Server_{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
files:
- modLicenses/**/*
- LICENSE
-
id: "ClientArchive"
builds:
- ClientAddin
- Client
replacements:
windows: Windows
amd64: x86_64
name_template: "Client_{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
files:
- modLicenses/**/*
- LICENSE
- src: 'installer/*.bat'
dst: .
strip_parent: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
draft: false
prerelease: auto
mode: append
header: |
## Update ({{ .Date }})
footer: |
Those were the changes on {{ .Tag }}!
name_template: "{{.ProjectName}}-v{{.Version}}"