From 1a460703d7f7aae0303d2d947a0990919778aff7 Mon Sep 17 00:00:00 2001 From: Nasir Rabbani <52099528+nasir-rabbani@users.noreply.github.com> Date: Fri, 2 Dec 2022 20:31:17 +0530 Subject: [PATCH] added tar.gz archive for windows (#1474) Co-authored-by: Nasir Rabbani --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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