Skip to content

Commit

Permalink
build: upgrade Go version to 1.15 (#48)
Browse files Browse the repository at this point in the history
This change is removing support for macOS 32-bits binaries.

Signed-off-by: Darren Murray <darren.murray@lacework.net>
  • Loading branch information
dmurray-lacework authored Dec 14, 2020
1 parent 606f196 commit 65cc622
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65cc622

Please sign in to comment.