Skip to content

Commit

Permalink
Update goreleaser to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
minamijoyo committed Aug 6, 2024
1 parent 9223dad commit 05dcb2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.terraform/
bin/
tmp/
dist/
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-tfmigrate
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
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 }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.terraform/
bin/
tmp/
dist/
.idea/
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: tfmigrate
goos:
Expand All @@ -20,7 +19,7 @@ changelog:
- Update README
- Update CHANGELOG
brews:
- tap:
- repository:
owner: minamijoyo
name: homebrew-tfmigrate
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
Expand Down

0 comments on commit 05dcb2c

Please sign in to comment.