From b72f3ebdfe93222f4217be6881143e4271a6a9f8 Mon Sep 17 00:00:00 2001 From: garethgeorge Date: Thu, 11 Apr 2024 21:04:46 -0700 Subject: [PATCH] chore: finish homebrew tap onboarding --- .github/workflows/release.yml | 2 +- .goreleaser.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dbbfbf3..44d88749 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 770fc17d..0eef83ef 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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 ./..." @@ -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 }}" @@ -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"