diff --git a/.goreleaser.yml b/.goreleaser.yml index 5f704b4..aca2cc2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,34 @@ +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 + brews: - name: kubectl-eks homepage: https://github.com/surajincloud/homebrew-tools tap: owner: surajincloud name: homebrew-tools + +checksum: + name_template: 'checksums.txt'