Skip to content

Commit 901cfc0

Browse files
authored
chore(goreleaser): migrate the configuration (#97)
1 parent 266b190 commit 901cfc0

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
uses: goreleaser/goreleaser-action@v6
2525
with:
2626
version: latest
27-
args: release --rm-dist
27+
args: release --clean
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

.goreleaser.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
build:
2-
binary: jlv
3-
main: ./cmd/jlv
4-
goos:
5-
- windows
6-
- darwin
7-
- linux
8-
goarch:
9-
- "386"
10-
- amd64
11-
- arm
12-
- arm64
13-
goarm:
14-
- "6"
15-
ignore:
16-
- goos: darwin
17-
goarch: "386"
18-
env:
19-
- CGO_ENABLED=0
1+
version: 2
2+
3+
builds:
4+
- binary: jlv
5+
main: ./cmd/jlv
6+
goos:
7+
- windows
8+
- darwin
9+
- linux
10+
goarch:
11+
- "386"
12+
- amd64
13+
- arm
14+
- arm64
15+
goarm:
16+
- "6"
17+
ignore:
18+
- goos: darwin
19+
goarch: "386"
20+
env:
21+
- CGO_ENABLED=0
2022

2123
gomod:
2224
proxy: false
@@ -55,7 +57,7 @@ brews:
5557
description: JSON Log Viewer tool.
5658
license: MIT
5759
homepage: https://github.com/hedhyw/homebrews
58-
tap:
60+
repository:
5961
owner: hedhyw
6062
name: homebrew-main
6163
test: system "#{bin}/jlv", "-help"

0 commit comments

Comments
 (0)