Skip to content

Commit 5b4150a

Browse files
authored
Merge pull request #18 from bayashi/fix-goreleaser
fix goreleaser
2 parents f878fa3 + 753be19 commit 5b4150a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/releaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Run GoReleaser
2121
uses: goreleaser/goreleaser-action@v6
2222
with:
23-
version: latest
23+
version: '~> v2'
2424
args: release --clean
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
builds:
23
- env:
34
- CGO_ENABLED=0
@@ -15,11 +16,12 @@ changelog:
1516
- Merge remote-tracking branch
1617
- Merge branch
1718
brews:
18-
- tap:
19+
- repository:
1920
owner: bayashi
2021
name: homebrew-tap
2122
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
22-
folder: Formula
23+
license: "MIT"
24+
directory: Formula
2325
homepage: https://github.com/bayashi/highlightrepo
2426
description: highlightrepo provides a filter to highlight repository directory in a path string.
2527
test: |

0 commit comments

Comments
 (0)