Skip to content

Commit

Permalink
chore(goreleaser): migrate the configuration (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
hedhyw authored Oct 5, 2024
1 parent 266b190 commit 901cfc0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
42 changes: 22 additions & 20 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
build:
binary: jlv
main: ./cmd/jlv
goos:
- windows
- darwin
- linux
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "6"
ignore:
- goos: darwin
goarch: "386"
env:
- CGO_ENABLED=0
version: 2

builds:
- binary: jlv
main: ./cmd/jlv
goos:
- windows
- darwin
- linux
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "6"
ignore:
- goos: darwin
goarch: "386"
env:
- CGO_ENABLED=0

gomod:
proxy: false
Expand Down Expand Up @@ -55,7 +57,7 @@ brews:
description: JSON Log Viewer tool.
license: MIT
homepage: https://github.com/hedhyw/homebrews
tap:
repository:
owner: hedhyw
name: homebrew-main
test: system "#{bin}/jlv", "-help"
Expand Down

0 comments on commit 901cfc0

Please sign in to comment.