From b863b32ee9703e6ee811b7857343ed66428c5082 Mon Sep 17 00:00:00 2001 From: Suraj Narwade Date: Tue, 25 Jul 2023 06:55:28 +0100 Subject: [PATCH 1/2] Update .goreleaser.yml --- .goreleaser.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 5f704b4..cc3c891 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,35 @@ +release: + +before: + hooks: + - go mod tidy + +builds: + - binary: kubectl-eks + main: ./main.go + goos: + - linux + - darwin + - windows + goarch: + - amd64 + - arm64 + targets: + - linux_amd64 + - linux_arm64 + - windows_amd64 + - darwin_amd64 + - darwin_arm64 + env: + - CGO_ENABLED=0 + flags: + - -v brews: - name: kubectl-eks homepage: https://github.com/surajincloud/homebrew-tools tap: owner: surajincloud name: homebrew-tools + +checksum: + name_template: 'checksums.txt' From 01d4cdac284850d1e86f9aab8dd86362b9f20697 Mon Sep 17 00:00:00 2001 From: Suraj Narwade Date: Tue, 25 Jul 2023 09:25:58 +0100 Subject: [PATCH 2/2] Update .goreleaser.yml --- .goreleaser.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index cc3c891..aca2cc2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -22,8 +22,7 @@ builds: - darwin_arm64 env: - CGO_ENABLED=0 - flags: - - -v + brews: - name: kubectl-eks homepage: https://github.com/surajincloud/homebrew-tools