From 8b872bcdaf46d0c6a200d7251b56a8f62e34bbf2 Mon Sep 17 00:00:00 2001 From: Benjamin Kane <6081085+bbkane@users.noreply.github.com> Date: Sat, 27 Apr 2024 21:18:17 -0700 Subject: [PATCH] update goreleaser to use brew directory instead of brew folder --- .github/workflows/release.yml | 5 ++++- .goreleaser.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b8eddc..9a0ae55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,9 @@ jobs: # requires go.sum file (i.e., external libraries) cache: true go-version-file: go.mod + - name: Write Release Notes + # https://github.com/bbkane/{repo-name}/blob/master/CHANGELOG.md + run: echo 'See [CHANGELOG.md](${{ github.server_url }}/${{ github.repository }}/blob/master/CHANGELOG.md) for changes.' > tmp_release_notes.md # https://github.com/marketplace/actions/goreleaser-action - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -23,7 +26,7 @@ jobs: name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: - args: release --rm-dist + args: release --clean --release-notes tmp_release_notes.md version: latest name: Release on: # yamllint disable-line rule:truthy diff --git a/.goreleaser.yml b/.goreleaser.yml index 3f4d965..b35236a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,7 +14,7 @@ brews: warning. I'm not willing to pay that to give away free apps. 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 description: Save GitHub Starred Repo Information - folder: Formula + directory: Formula homepage: https://github.com/bbkane/starghaze repository: name: homebrew-tap