diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8afcfcb..02a9fb8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,4 +54,5 @@ jobs: with: args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GH_PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 44f1d22..20c7918 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -41,7 +41,8 @@ changelog: brews: - repository: owner: putdotio - name: homebrew-putio-sync + name: homebrew-tap + token: "{{ .Env.TAP_GITHUB_TOKEN }}" directory: Formula homepage: https://github.com/putdotio/putio-sync description: Put.io folder sync app diff --git a/README.md b/README.md index 7f66ec4..8e6c647 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ Installing If you are on MacOS you can install from [brew](https://brew.sh/): ```sh -brew install putdotio/putio-sync/putio-sync +brew tap putdotio/tap +brew install putio-sync ``` Otherwise, get the latest binary from [releases page](https://github.com/putdotio/putio-sync/releases).