forked from depscloud/depscloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
128 lines (119 loc) · 2.52 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
project_name: depscloud
snapshot:
name_template: "{{ .Tag }}-next"
builds:
# deps command line interface
- id: deps
dir: deps
main: ./main.go
binary: deps
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 7
ignore:
- goos: darwin
goarch: arm
- goos: darwin
goarch: arm64
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
# gateway service
- id: gateway
dir: gateway
main: ./main.go
binary: gateway
goos:
- linux
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 7
# indexing cron
- id: indexer
dir: indexer
main: ./main.go
binary: indexer
goos:
- linux
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 7
# tracker service
- id: tracker
dir: tracker
main: ./main.go
binary: tracker
goos:
- linux
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 7
archives:
- id: deps
name_template: "deps_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
builds:
- deps
- id: gateway
name_template: "gateway_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
builds:
- gateway
- id: indexer
name_template: "indexer_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
builds:
- indexer
- id: tracker
name_template: "tracker_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
builds:
- tracker
brews:
# deps command line interface
- name: depscloud-cli
ids:
- deps
goarm: 7
tap:
owner: depscloud
name: homebrew-tap
commit_author:
name: goreleaserbot
email: [email protected]
homepage: https://deps.cloud/
description: Command line interface to the deps.cloud API
nfpms:
- id: depscloud-cli-deb
package_name: depscloud-cli
file_name_template: "depscloud-cli_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- deps
vendor: deps.cloud
homepage: https://deps.cloud/
maintainer: [email protected]
description: Command line interface to the deps.cloud API.
license: MIT
formats:
- deb
checksum:
name_template: 'checksums.txt'