-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yaml
64 lines (52 loc) · 1.14 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
before:
hooks:
- go mod download
builds:
- id: echo
main: cmd/echo/main.go
binary: executor_echo_{{ .Os }}_{{ .Arch }}
no_unique_dist_dir: true
env: &env
- CGO_ENABLED=0
goos: &goos
- linux
- darwin
goarch: &goarch
- amd64
- arm64
goarm: &goarm
- 7
- id: msg
main: cmd/msg/main.go
binary: executor_msg_{{ .Os }}_{{ .Arch }}
no_unique_dist_dir: true
env: *env
goos: *goos
goarch: *goarch
goarm: *goarm
- id: ticker
main: cmd/ticker/main.go
binary: source_ticker_{{ .Os }}_{{ .Arch }}
no_unique_dist_dir: true
env: *env
goos: *goos
goarch: *goarch
goarm: *goarm
- id: forwarder
main: cmd/forwarder/main.go
binary: source_forwarder_{{ .Os }}_{{ .Arch }}
no_unique_dist_dir: true
env: *env
goos: *goos
goarch: *goarch
goarm: *goarm
snapshot:
name_template: 'v{{ .Version }}'
release:
# If set to true, will not auto-publish the release.
draft: false
prerelease: auto
# Add extra pre-existing files to the release.
# - build plugin index.yaml
extra_files:
- glob: ./plugins-index.yaml