Skip to content

update goreleaser to use brew directory instead of brew folder #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ 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 }}
KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP: ${{ secrets.KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP }}
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
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down