-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
62 lines (62 loc) · 1.91 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
project_name: m3
builds:
- main: ./src/cmd/services/m3dbnode/main/main.go
binary: m3dbnode
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
- main: ./src/cmd/services/m3coordinator/main/main.go
binary: m3coordinator
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
- main: ./src/cmd/services/m3query/main/main.go
binary: m3query
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