Skip to content

Commit

Permalink
Add scoop support
Browse files Browse the repository at this point in the history
  • Loading branch information
bbkane committed Aug 10, 2022
1 parent 20da2e2 commit 83eea3d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.jsonl
*bak
dist/
starghaze
starghaze-sa-keys.json
Expand Down
13 changes: 13 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ before:
- go mod download
# you may remove this if you don't need go generate
# - go generate ./...

builds:
- env:
- CGO_ENABLED=0
Expand All @@ -26,6 +27,7 @@ changelog:
exclude:
- "^docs:"
- "^test:"

# https://goreleaser.com/customization/homebrew/
brews:
- tap:
Expand All @@ -41,3 +43,14 @@ brews:
See https://www.macworld.com/article/3140183/how-to-install-an-app-in-macos-sierra-thats-not-signed-by-a-developer.html to work around that
homepage: "https://github.com/bbkane/starghaze"
description: "Save GitHub Starred Repo Information"

# https://goreleaser.com/customization/scoop/
scoop:
bucket:
owner: bbkane
name: scoop-bucket
token: "{{ .Env.KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP }}"
description: "Save information about your GitHub starred repos into Google Sheets, Zinc, and SQLite!"
homepage: "https://github.com/bbkane/starghaze"
license: MIT

9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ GraphQL and Google Sheets auth notes at [./dev_notes.md](./dev_notes.md)

## Install

- Homebrew: `brew install bbkane/tap/starghaze`
- [Homebrew](https://brew.sh/): `brew install bbkane/tap/starghaze`
- [Scoop](https://scoop.sh/):

```
scoop bucket add bbkane https://github.com/bbkane/scoop-bucket
scoop install bbkane/starghaze
```

- Download Mac/Linux/Windows executable: [GitHub releases](https://github.com/bbkane/starghaze/releases)
- Go: `go install go.bbkane.com/starghaze@latest`
- Build with [goreleaser](https://goreleaser.com/) after cloning: `goreleaser --snapshot --skip-publish --rm-dist`
Expand Down

0 comments on commit 83eea3d

Please sign in to comment.