From 32778b4a8c6cf5ab37747e834ef7cca15e091c99 Mon Sep 17 00:00:00 2001 From: Alex ATorres Date: Mon, 12 Sep 2022 11:42:08 +0200 Subject: [PATCH] ci: add release, add homebrew support --- .github/workflows/generate-release.yml | 2 +- app/.goreleaser.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-release.yml b/.github/workflows/generate-release.yml index 9aabd4a..9a6efb0 100644 --- a/.github/workflows/generate-release.yml +++ b/.github/workflows/generate-release.yml @@ -48,4 +48,4 @@ jobs: args: release --rm-dist workdir: ./app/cli env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }} diff --git a/app/.goreleaser.yml b/app/.goreleaser.yml index 77f4e99..1e9e350 100644 --- a/app/.goreleaser.yml +++ b/app/.goreleaser.yml @@ -25,6 +25,10 @@ builds: - windows_amd64 main: ./main.go +release: + prerelease: auto + + brews: - tap: owner: Excoriate