Skip to content

Commit

Permalink
Merge pull request #19 from kanmu/support_homebrew
Browse files Browse the repository at this point in the history
Add homebrew support
  • Loading branch information
winebarrel authored Oct 14, 2022
2 parents c5b3184 + e3c28ad commit d00ae63
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: ">=1.19.1"
- id: gh-app-auth
uses: summerwind/gh-app-auth@main
with:
app-id: 244816
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
account: kanmu
- uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
Expand Down
9 changes: 9 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ builds:
- darwin
checksum:
name_template: "checksums.txt"
brews:
- tap:
owner: kanmu
name: homebrew-tools
homepage: https://github.com/kanmu/dgw
description: dgw generates Golang struct, and simple Table/Row Data Gateway functions from PostgreSQL table metadata
license: MIT
install: |
bin.install 'dgw'
nfpms:
- id: dgw-nfpms
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
Expand Down

0 comments on commit d00ae63

Please sign in to comment.