forked from T4cC0re/fleeting-plugin-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
44 lines (41 loc) · 1.12 KB
/
.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
37
38
39
40
41
42
43
44
builds:
- # First Build
env:
- CGO_ENABLED=0
main: ./cmd/fleeting-plugin-openstack
ldflags: >-
-s -w
-X github.com/codecentric/fleeting-plugin-openstack.Version={{.Version}}
-X github.com/codecentric/fleeting-plugin-openstack.Revision={{.FullCommit}}
-X github.com/codecentric/fleeting-plugin-openstack.Branch={{.Branch}}
-X github.com/codecentric/fleeting-plugin-openstack.BuildUser=goreleaser@github-actions
-X github.com/codecentric/fleeting-plugin-openstack.BuildDate={{time "20060102-15:04:05"}}
# Set the binary output location to bin/ so archive will comply with Sensu Go Asset structure
binary: bin/{{ .ProjectName }}
goos:
- linux
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 5
- 6
- 7
targets:
- linux_386
- linux_amd64
- linux_arm_5
- linux_arm_6
- linux_arm_7
- linux_arm64
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_sha512-checksums.txt"
algorithm: sha512
archives:
- id: tar
format: tar.gz
files:
- LICENSE
- README.md