From a86e1aa0eef76aa8b8bb575fd38fbcd05c612754 Mon Sep 17 00:00:00 2001 From: qbart Date: Fri, 3 Dec 2021 01:01:04 +0100 Subject: [PATCH] Add windows support --- .goreleaser.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 6146431..d887680 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,6 +2,10 @@ builds: - ldflags: - -s -w -X github.com/ohkrab/krab/krab.InfoVersion={{.Version}} -X github.com/ohkrab/krab/krab.InfoCommit={{.Commit}} -X github.com/ohkrab/krab/krab.InfoBuildDate={{.Date}} + goos: + - linux + - darwin + - windows goarch: - amd64 - arm64 @@ -10,6 +14,8 @@ builds: ignore: - goos: linux goarch: arm64 + - goos: windows + goarch: arm64 binary: krab