From 65cc622beabb042a656a22b4a4ef39f930624740 Mon Sep 17 00:00:00 2001 From: Darren <75614232+dmurray-lacework@users.noreply.github.com> Date: Mon, 14 Dec 2020 19:26:08 +0000 Subject: [PATCH] build: upgrade Go version to 1.15 (#48) This change is removing support for macOS 32-bits binaries. Signed-off-by: Darren Murray --- .circleci/config.yml | 2 +- GNUmakefile | 4 ++-- go.mod | 2 +- scripts/release.sh | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index acd2bc86d..d0dcf9984 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ orbs: executors: go-executor: docker: - - image: circleci/golang:1.14 + - image: circleci/golang:1.15 working_directory: /go/src/github.com/lacework/terraform-provider-lacework alpine: docker: diff --git a/GNUmakefile b/GNUmakefile index 9944edee4..1ed48f329 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -41,8 +41,8 @@ build: fmtcheck build-cross-platform: gox -output="bin/$(PACKAGENAME)_$(VERSION)_{{.OS}}_{{.Arch}}" \ - -os="darwin linux windows freebsd" \ - -osarch="linux/arm linux/arm64 freebsd/arm freebsd/arm64" \ + -os="linux windows freebsd" \ + -osarch="darwin/amd64 linux/arm linux/arm64 freebsd/arm freebsd/arm64" \ -arch="amd64 386" \ github.com/lacework/$(PACKAGENAME) diff --git a/go.mod b/go.mod index a298b4a33..8ff5a955f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/lacework/terraform-provider-lacework -go 1.14 +go 1.15 require ( cloud.google.com/go/storage v1.10.0 // indirect diff --git a/scripts/release.sh b/scripts/release.sh index 4f19b9b2b..5df63de02 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -18,7 +18,6 @@ VERSION=$(cat VERSION) BINARY="${project_name}_v${VERSION}" SHASUMS="${project_name}_${VERSION}_SHA256SUMS" TARGETS=( - ${project_name}_${VERSION}_darwin_386 ${project_name}_${VERSION}_darwin_amd64 ${project_name}_${VERSION}_windows_386.exe ${project_name}_${VERSION}_windows_amd64.exe