-
Notifications
You must be signed in to change notification settings - Fork 94
/
.goreleaser.yml
60 lines (57 loc) · 1.23 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
project_name: juno
builds:
- main: ./cmd/juno-admin
id: "juno-admin"
binary: juno-admin
env:
- CGO_ENABLED=0
goos:
- linux
goarch: [amd64]
tags:
- embedassets
ldflags:
- -X github.com/douyu/jupiter/pkg.buildAppVersion={{.Version}}
- -X github.com/douyu/jupiter/pkg.buildTime={{.Date}}
- -X github.com/douyu/jupiter/pkg.buildUser=goreleaser
- main: ./cmd/juno-proxy
id: "juno-proxy"
binary: juno-proxy
env:
- CGO_ENABLED=0
goos:
- linux
goarch: [amd64]
ldflags:
- -X github.com/douyu/jupiter/pkg.buildAppVersion={{.Version}}
- -X github.com/douyu/jupiter/pkg.buildTime={{.Date}}
- -X github.com/douyu/jupiter/pkg.buildUser=goreleaser
# - main: ./cmd/juno-swagger
# id: "juno-swagger"
# binary: juno-swagger
# goos:
# - linux
# - darwin
# - windows
# goarch: [amd64]
# - main: ./cmd/juno-worker
# id: "juno-worker"
# binary: juno-worker
# goos:
# - linux
# - darwin
# - windows
# goarch: [amd64]
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
- Merge pull request
- Merge branch
archives:
- files:
- ./data/*
- ./config/*