Skip to content

Commit

Permalink
Merge pull request #99 from minamijoyo/update-goreleaser-to-v2
Browse files Browse the repository at this point in the history
Update goreleaser to v2
  • Loading branch information
minamijoyo authored Aug 2, 2024
2 parents af21350 + 34558e8 commit db46ee8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
private_key: ${{ secrets.APP_PRIVATE_KEY }}
repository: minamijoyo/homebrew-hcledit
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.generate_github_app_token.outputs.token }}
5 changes: 2 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# .goreleaser.yml
# Build customization
version: 2
builds:
- binary: hcledit
goos:
Expand All @@ -24,7 +23,7 @@ changelog:
- Update README
- Update CHANGELOG
brews:
- tap:
- repository:
owner: minamijoyo
name: homebrew-hcledit
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
Expand Down

0 comments on commit db46ee8

Please sign in to comment.