Skip to content

Commit 8b56dc3

Browse files
authored
Merge pull request #69 from minamijoyo/update-goreleaser-to-v2
Update goreleaser to v2
2 parents f757c6a + c46673c commit 8b56dc3

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.terraform/
33
bin/
44
tmp/
5+
dist/

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
private_key: ${{ secrets.APP_PRIVATE_KEY }}
2929
repository: minamijoyo/homebrew-tfedit
3030
- name: Run GoReleaser
31-
uses: goreleaser/goreleaser-action@v2
31+
uses: goreleaser/goreleaser-action@v6
3232
with:
33-
version: latest
34-
args: release --rm-dist
33+
version: "~> v2"
34+
args: release --clean
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.generate_github_app_token.outputs.token }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.terraform/
33
bin/
44
tmp/
5+
dist/

.goreleaser.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# .goreleaser.yml
2-
# Build customization
1+
version: 2
32
builds:
43
- binary: tfedit
54
goos:
@@ -22,7 +21,7 @@ changelog:
2221
- Update README
2322
- Update CHANGELOG
2423
brews:
25-
- tap:
24+
- repository:
2625
owner: minamijoyo
2726
name: homebrew-tfedit
2827
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)