generated from kubeshop/botkube-plugins-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
48 lines (42 loc) · 851 Bytes
/
.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
before:
hooks:
- go mod download
builds:
- id: job
main: cmd/job/main.go
binary: executor_job_{{ .Os }}_{{ .Arch }}
no_unique_dist_dir: true
env: &env
- CGO_ENABLED=0
goos: &goos
- linux
- darwin
goarch: &goarch
- amd64
- arm64
goarm: &goarm
- 7
- id: snippet
main: cmd/snippet/main.go
binary: executor_snippet_{{ .Os }}_{{ .Arch }}
no_unique_dist_dir: true
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
goarm:
- 7
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