Skip to content

Commit

Permalink
Merge pull request #7 from kopkunka55/brewtap
Browse files Browse the repository at this point in the history
feat: add homebrew to install binary
  • Loading branch information
tkasuz authored Feb 22, 2023
2 parents 11a4b08 + 270dcac commit c4d7848
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
9 changes: 8 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,11 @@ archives:
- goos: windows
format: zip
release:
prerelease: auto
prerelease: auto
brews:
- tap:
owner: kopkunka55
name: homebrew-appsyncgen
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
branch: main
homepage: https://github.com/kopkunka55/appsyncgen
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ appsyncgen is a CLI providing some useful capability to develop GraphQL API with

## Installing
```shell
go install github.com/kopkunka55/appsyncgen
go install github.com/kopkunka55/appsyncgen@latest
```

### For Mac OS
```shell
brew tap kopkunka55/appsyncgen
brew install kopkunka55/appsyncgen/appsyncgen
```

## Usage
All you need is `schema.graphql` which includes only basic types. Mutation/Query/Subscription and some supplemental types will be added.

Expand Down

0 comments on commit c4d7848

Please sign in to comment.