File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22project_name : webrpc
33
44builds :
5- - main : ./cmd/webrpc-gen
5+ - id : webrpc-gen
6+ main : ./cmd/webrpc-gen
67 binary : webrpc-gen
78 goos :
89 - darwin
@@ -13,9 +14,29 @@ builds:
1314 - arm64
1415 ldflags :
1516 - -s -w -X github.com/webrpc/webrpc/gen.VERSION=v{{.Version}}
17+ - id : webrpc-test
18+ main : ./cmd/webrpc-test
19+ binary : webrpc-test
20+ goos :
21+ - darwin
22+ - linux
23+ - windows
24+ goarch :
25+ - amd64
26+ - arm64
27+ ldflags :
28+ - -s -w -X github.com/webrpc/webrpc/gen.VERSION=v{{.Version}}
1629
1730archives :
18- - name_template : " {{ .Binary }}.{{ .Os }}-{{ .Arch }}"
31+ - id : webrpc-gen
32+ builds :
33+ - webrpc-gen
34+ name_template : " {{ .Binary }}.{{ .Os }}-{{ .Arch }}"
35+ format : binary
36+ - id : webrpc-test
37+ builds :
38+ - webrpc-test
39+ name_template : " {{ .Binary }}.{{ .Os }}-{{ .Arch }}"
1940 format : binary
2041
2142checksum :
@@ -25,9 +46,11 @@ release:
2546 footer : |
2647 ## Docker
2748 ```
28- docker run ghcr.io/webrpc/webrpc-gen:v{{.Version}}
49+ docker pull ghcr.io/webrpc/webrpc-gen:v{{.Version}}
2950 ```
3051
52+ Example: `docker run -v $PWD:$PWD ghcr.io/webrpc/webrpc-gen:v{{.Version}} -schema=$PWD/api.ridl -target=golang`
53+
3154 ## Homebrew
3255 ```
3356 brew tap webrpc/tap
@@ -50,6 +73,22 @@ changelog:
5073
5174brews :
5275 - name : webrpc-gen
76+ ids :
77+ - webrpc-gen
78+ tap :
79+ owner : webrpc
80+ name : homebrew-tap
81+ token : " {{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
82+ commit_author :
83+ name : goreleaserbot
84+ email : bot@goreleaser.com
85+ commit_msg_template : " Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
86+ homepage : " https://github.com/webrpc/webrpc"
87+ description : " generate source code for your target language from webrpc schema"
88+ license : " MIT"
89+ - name : webrpc-test
90+ ids :
91+ - webrpc-test
5392 tap :
5493 owner : webrpc
5594 name : homebrew-tap
You can’t perform that action at this time.
0 commit comments