From 6aecadc34ce972c5eb579da0743524ebd3fa153a Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Fri, 17 Jun 2022 20:23:10 +0900 Subject: [PATCH] chore: windows support --- .goreleaser.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e27ba73b..0567cbfa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,17 +9,15 @@ builds: binary: tfcmt env: - CGO_ENABLED=0 + goos: + - windows + - darwin + - linux + goarch: + - amd64 + - arm64 archives: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - replacements: - darwin: 'darwin' - linux: 'linux' - windows: 'windows' - 386: '386' - amd64: 'amd64' - format_overrides: - - goos: 'windows' - format: 'zip' release: prerelease: true # we update release note manually before releasing header: |