-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
62 lines (62 loc) · 1.86 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
before:
hooks:
- go mod download
- go mod tidy
builds:
-
id: protoc-gen-go-client-mock-darwin
ldflags:
- -s -w -X github.com/pepabo/protoc-gen-go-client-mock.version={{.Version}} -X github.com/pepabo/protoc-gen-go-client-mock.commit={{.FullCommit}} -X github.com/pepabo/protoc-gen-go-client-mock.date={{.Date}} -X github.com/pepabo/protoc-gen-go-client-mock/version.Version={{.Version}}
goos:
- darwin
goarch:
- amd64
- arm64
-
id: protoc-gen-go-client-mock-linux
ldflags:
- -s -w -X github.com/pepabo/protoc-gen-go-client-mock.version={{.Version}} -X github.com/pepabo/protoc-gen-go-client-mock.commit={{.FullCommit}} -X github.com/pepabo/protoc-gen-go-client-mock.date={{.Date}} -X github.com/pepabo/protoc-gen-go-client-mock/version.Version={{.Version}}
goos:
- linux
goarch:
- amd64
archives:
-
id: protoc-gen-go-client-mock-archive
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: darwin
format: zip
files:
- LICENSE
- CREDITS
- README.md
- CHANGELOG.md
rlcp: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}-next"
changelog:
skip: true
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
-
id: protoc-gen-go-client-mock-nfpms
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
builds:
- protoc-gen-go-client-mock-linux
homepage: https://github.com/pepabo/protoc-gen-go-client-mock
maintainer: 'GMO Pepabo, inc.'
description: protoc-gen-go-client-mock is a protoc plugin that generates a mock of client that bundles gRPC Clients for multiple services.
license: MIT
formats:
- deb
- rpm
- apk
bindir: /usr/bin
epoch: 1