-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
36 lines (33 loc) · 964 Bytes
/
.goreleaser.yml
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
builds:
# List of builds
- # First Build
env:
- CGO_ENABLED=0
main: cmd/sensu-goalert-handler/main.go
# Set the binary output location to bin/ so archive will comply with Sensu Go Asset structure
binary: bin/{{ .ProjectName }}
goos:
- linux
goarch:
- amd64
ignore:
# TODO: add freebsd/arm support to gopsutil
- goos: freebsd
goarch: arm
checksum:
# You can change the name of the checksums file.
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
name_template: "{{ .ProjectName }}_{{ .Version }}_sha256-checksums.txt"
archive:
format: tar.gz
files:
- README.md
- LICENSE.md
# You can change the name of the GitHub release.
# This is parsed with the Go template engine and the following variables
# are available:
# - ProjectName
# - Tag
# - Version (Git tag without `v` prefix)
# Default is ``
#name_template: "{{.ProjectName}}-v{{.Version}}"