Skip to content

Commit

Permalink
Merge pull request #30 from kubecost/mmd/go1.16
Browse files Browse the repository at this point in the history
Update go.mod to 1.16 and release includes darwin-arm64
  • Loading branch information
michaelmdresser authored Mar 9, 2021
2 parents 744cc09 + 6452bd7 commit 6e12b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
darwin-amd64:
cd cmd/kubectl-cost && GOOS=darwin GOARCH=amd64 go build -o kubectl-cost-darwin-amd64

# note: requires go 1.16, not included in release yet
.PHONY: darwin-arm64
darwin-arm64:
cd cmd/kubectl-cost && GOOS=darwin GOARCH=arm64 go build -o kubectl-cost-darwin-arm64
Expand All @@ -15,9 +14,8 @@ linux-amd64:
windows-amd64:
cd cmd/kubectl-cost && GOOS=windows GOARCH=amd64 go build -o kubectl-cost-windows-amd64

# TODO: add darwin-arm64 when go 1.16 is available
.PHONY: release
release: darwin-amd64 linux-amd64 windows-amd64
release: darwin-amd64 darwin-arm64 linux-amd64 windows-amd64

.PHONY: build
build:
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/kubecost/kubectl-cost

go 1.15

// replace github.com/kubecost/cost-model => ../cost-model
go 1.16

require (
github.com/davecgh/go-spew v1.1.1
Expand Down

0 comments on commit 6e12b8d

Please sign in to comment.