-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
48 lines (44 loc) · 1.06 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
45
46
47
48
project_name: bosh-cpi-cloudstack
builds:
- id: binary
binary: bosh-cpi-cloudstack
dir: main
env:
- CGO_ENABLED=0
ldflags:
- -s
- -w
- -X github.com/prometheus/common/version.Version={{.Version}}
- -X github.com/prometheus/common/version.Revision={{.FullCommit}}
- -X github.com/prometheus/common/version.Branch={{.Branch}}
- -X github.com/prometheus/common/version.BuildUser={{.Env.USER}}
- -X github.com/prometheus/common/version.BuildDate={{.Date}}
goos:
- linux
- darwin
goarch:
- amd64
archives:
- id: archives
builds:
- binary
format: "tar.gz"
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
wrap_in_directory: true
files:
- LICENSE*
- README*
- CHANGELOG*
- docs/*
- assets/*
- static/*
- templates/*
checksum:
name_template: checksums.txt
algorithm: sha256
release:
github:
owner: orange-cloudfoundry
name: bosh-cpi-cloudstack
prerelease: auto
name_template: '{{.Tag}}'