forked from sardinasystems/fleeting-plugin-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
33 lines (30 loc) · 1005 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
---
version: 2
builds:
- # First Build
env:
- CGO_ENABLED=0
main: ./cmd/fleeting-plugin-openstack
ldflags: >-
-s -w
-X github.com/sardinasystems/fleeting-plugin-openstack.Version={{.Version}}
-X github.com/sardinasystems/fleeting-plugin-openstack.Revision={{.FullCommit}}
-X github.com/sardinasystems/fleeting-plugin-openstack.Branch={{.Branch}}
-X github.com/sardinasystems/fleeting-plugin-openstack.BuildUser=goreleaser@github-actions
-X github.com/sardinasystems/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 }}
targets:
- linux_386
- linux_amd64
- 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