Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit 22cdff9

Browse files
committed
fixed goreleaser
1 parent eed1d02 commit 22cdff9

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ jobs:
2222
args: release --rm-dist
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ brews:
4949
tap:
5050
owner: Code-Hex
5151
name: homebrew-tap
52+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
5253
homepage: "https://github.com/Code-Hex/gqldoc"
5354
description: "The easiest way to make documents for GraphQL"
5455
folder: Formula

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,24 @@ $ gqldoc -s a.graphql -s b.graphql -o ./doc_dir
3636

3737
## Installation
3838

39+
### Mac and Linux users via Homebrew
40+
41+
```sh
42+
$ brew install Code-Hex/tap/gqldoc
43+
```
44+
45+
### Manually via go command
46+
3947
Again, this tool is supported Go 1.16 and above. If you are one of those users, you can install like below.
4048

4149
```sh
4250
$ go install github.com/Code-Hex/gqldoc/cmd/gqldoc
4351
```
4452

53+
### Manually download
54+
55+
You can download binary from [here](https://github.com/Code-Hex/gqldoc/releases)
56+
4557
## Todo
4658

4759
This todo list is written the order of priority.

0 commit comments

Comments
 (0)