forked from sorintlab/stolon
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathgoreleaser.yml
51 lines (47 loc) · 998 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# View goreleaser docs for configuration settings
# https://goreleaser.com
---
project_name: stolon
release:
github:
owner: gocardless
name: stolon
archives:
- wrap_in_directory: true
builds:
- binary: bin/stolonctl
id: stolonctl
main: cmd/stolonctl/main.go
goos: &goos
- linux
goarch: &goarch
- amd64
ldflags: &ldflags >
-X cmd.Version={{.Version}}
-X cmd.Commit={{.Commit}}
-X cmd.Date={{.Date}}
-a
-installsuffix cgo
env: &env
- CGO_ENABLED=0
- binary: bin/stolon-keeper
id: stolon-keeper
main: cmd/keeper/main.go
goos: *goos
goarch: *goarch
ldflags: *ldflags
env: *env
- binary: bin/stolon-proxy
id: stolon-proxy
main: cmd/proxy/main.go
goos: *goos
goarch: *goarch
ldflags: *ldflags
env: *env
- binary: bin/stolon-sentinel
id: stolon-sentinel
main: cmd/sentinel/main.go
goos: *goos
goarch: *goarch
ldflags: *ldflags
env: *env