-
Notifications
You must be signed in to change notification settings - Fork 19
/
.goreleaser.yml
148 lines (139 loc) · 2.71 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# .goreleaser.yml
project_name: resh
# resh_template: '{{ ProjectName }}_{{ .Version }}'
# env:
# - GO111MODULE=on
# before:
# hooks:
# - go mod tidy
builds:
# You can have multiple builds defined as a yaml list
# ID of the build.
# Defaults to the project name.
# id: "daemon"
# Path to main.go file or main package.
# Default is `.`.
# id: ./cmd/daemon
# Binary name.
# Can be a path (e.g. `bin/app`) to wrap the binary in a directory.
# Default is the name of the project directory.
# binary: resh-collect
# Hooks can be used to customize the final binary,
# for example, to run generators.
# Those fields allow templates.
# Default is both hooks empty.
# hooks:
# pre: rice embed-go
# post: ./script.sh
-
id: "cli"
main: ./cmd/cli
binary: bin/resh-cli
goarch:
- 386
- amd64
- arm
- arm64
-
id: "collect"
main: ./cmd/collect
binary: bin/resh-collect
goarch:
- 386
- amd64
- arm
- arm64
-
id: "config"
main: ./cmd/config
binary: bin/resh-config
goarch:
- 386
- amd64
- arm
- arm64
-
id: "control"
main: ./cmd/control
binary: bin/resh-control
goarch:
- 386
- amd64
- arm
- arm64
-
id: "daemon"
main: ./cmd/daemon
binary: bin/resh-daemon
goarch:
- 386
- amd64
- arm
- arm64
-
id: "postcollect"
main: ./cmd/postcollect
binary: bin/resh-postcollect
goarch:
- 386
- amd64
- arm
- arm64
-
id: "session-init"
main: ./cmd/session-init
binary: bin/resh-session-init
goarch:
- 386
- amd64
- arm
- arm64
-
id: "install-utils"
main: ./cmd/install-utils
binary: bin/resh-install-utils
goarch:
- 386
- amd64
- arm
- arm64
-
id: "generate-uuid"
main: ./cmd/generate-uuid
binary: bin/resh-generate-uuid
goarch:
- 386
- amd64
- arm
- arm64
-
id: "get-epochtime"
main: ./cmd/get-epochtime
binary: bin/resh-get-epochtime
goarch:
- 386
- amd64
- arm
- arm64
# signs:
# - artifacts: checksum
# include everything in the package
# looks like xmas
archives:
- files:
- ./Makefile
- conf/*
- conf/**/*
- data/*
- data/**/*
- scripts/*
- scripts/**/*
- submodules/**/*
release:
# draft: true
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1
# If set to true, will mark the release as not ready for production.
# Default is false.
prerelease: auto
# disable: true