-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
54 lines (47 loc) · 857 Bytes
/
.goreleaser.yaml
File metadata and controls
54 lines (47 loc) · 857 Bytes
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
version: 2
builds:
- id: ty
main: ./cmd/task
binary: ty
ldflags:
- -s -w -X main.version={{.Version}}
goos:
- darwin
- linux
goarch:
- amd64
- arm64
- id: taskd
main: ./cmd/taskd
binary: taskd
# taskd is a daemon — no Windows build
ldflags:
- -s -w -X main.version={{.Version}}
goos:
- darwin
- linux
goarch:
- amd64
- arm64
archives:
- id: ty
builds:
- ty
format: tar.gz
name_template: "ty_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: taskd
builds:
- taskd
format: tar.gz
name_template: "taskd_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
release:
draft: false
checksum:
name_template: "checksums.txt"
changelog:
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^Merge"