Skip to content

Commit

Permalink
chore: finish homebrew tap onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed Apr 12, 2024
1 parent 3223138 commit 67b9997
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_BREW_TOKEN: ${{ secrets.GH_BREW_TOKEN }}
HOMEBREW_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}

- name: Upload Artifacts
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:

before:
hooks:
- bash -c "echo {{.Version}} > /tmp/version.txt"
- go mod tidy
- npm --prefix webui install
- sh -c "GOOS=linux BACKREST_BUILD_VERSION={{.Version}} go generate ./..."
Expand Down Expand Up @@ -131,6 +130,7 @@ docker_manifests:
brews:
- name: backrest
homepage: https://github.com/garethgeorge/backrest
description: "Backrest is a web UI and orchestrator for restic backup."

url_template: "https://github.com/garethgeorge/backrest/releases/download/{{ .Tag }}/{{ .ArtifactName }}"

Expand All @@ -142,7 +142,7 @@ brews:
owner: garethgeorge
name: homebrew-backrest-tap
branch: main
token: "{{ .Env.GH_BREW_TOKEN }}"
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}"

service: |
run opt_bin/"backrest"
Expand Down

0 comments on commit 67b9997

Please sign in to comment.