forked from m3db/m3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
88 lines (88 loc) · 2.66 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
project_name: m3
builds:
- id: m3dbnode
main: ./src/cmd/services/m3dbnode/main/main.go
binary: m3dbnode
env:
- CGO_ENABLED=0
ldflags: >-
-X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
-X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
-X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
-X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
-X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
-X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
goos:
- linux
- darwin
# Issue #692 tracks Windows support.
# - windows
goarch:
- amd64
- id: m3coordinator
main: ./src/cmd/services/m3coordinator/main/main.go
binary: m3coordinator
env:
- CGO_ENABLED=0
ldflags: >-
-X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
-X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
-X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
-X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
-X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
-X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
goos:
- linux
- darwin
# Issue #692 tracks Windows support.
# - windows
goarch:
- amd64
- id: m3query
main: ./src/cmd/services/m3query/main/main.go
binary: m3query
env:
- CGO_ENABLED=0
ldflags: >-
-X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
-X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
-X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
-X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
-X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
-X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
goos:
- linux
- darwin
# Issue #692 tracks Windows support.
# - windows
- id: m3aggregator
main: ./src/cmd/services/m3aggregator/main/main.go
binary: m3aggregator
env:
- CGO_ENABLED=0
ldflags: >-
-X {{.Env.BASE_PACKAGE}}.Revision={{.Env.GIT_REVISION}}
-X {{.Env.BASE_PACKAGE}}.Branch={{.Env.GIT_BRANCH}}
-X {{.Env.BASE_PACKAGE}}.Version={{.Env.GIT_VERSION}}
-X {{.Env.BASE_PACKAGE}}.BuildDate={{.Env.BUILD_DATE}}
-X {{.Env.BASE_PACKAGE}}.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
-X {{.Env.BASE_PACKAGE}}.LogBuildInfoAtStartup=true
goos:
- linux
- darwin
# Issue #692 tracks Windows support.
# - windows
goarch:
- amd64
archive:
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
release:
github:
owner: m3db
name: m3