diff --git a/.goreleaser.yml b/.goreleaser.yml index ba4b62e9..9c6a65d8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,6 +6,7 @@ before: - go get -u ./cmd/tenv - go get -u ./cmd/tofu - go get -u ./cmd/terraform + - go get -u ./cmd/terragrunt - go mod tidy builds: @@ -107,6 +108,38 @@ builds: - goos: solaris goarch: arm64 + - id: terragrunt + binary: terragrunt + main: ./cmd/terragrunt + env: + - CGO_ENABLED=0 + + goos: + - linux + - windows + - darwin + - freebsd + - openbsd + - solaris + + goarch: + - "386" + - amd64 + - arm + - arm64 + + ignore: + - goos: darwin + goarch: 386 + - goos: darwin + goarch: arm + - goos: solaris + goarch: 386 + - goos: solaris + goarch: arm + - goos: solaris + goarch: arm64 + archives: - format: tar.gz # this name template makes the OS and Arch compatible with the results of `uname`.