diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0aa8a6a..13ea185 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 99a92da..281e41b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 @@ -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"