diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edea94b46..8ec895832 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v3 with: version: latest args: release --rm-dist diff --git a/.goreleaser.yml b/.goreleaser.yml index e2a96bf0c..dd17109cc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,7 +24,12 @@ archives: windows: Windows 386: i386 amd64: x86_64 - # for windows it is good to have zip rather than tar.gz + # for windows it is good to have zip along with tar.gz + - id: win_zip + replacements: + windows: Windows + 386: i386 + amd64: x86_64 format_overrides: - goos: windows format: zip