diff --git a/.goreleaser.yml b/.goreleaser.yml index 5de2a45f..7ee61762 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,7 @@ project_name: kubectl-trace +before: + hooks: + - go mod tidy builds: - id: "kubectl-trace" goos: diff --git a/Makefile b/Makefile index ede031eb..af416208 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ ${trace_runner}: .PHONY: cross cross: - IMAGE_NAME=$(IMAGE_NAME) goreleaser --snapshot --rm-dist + IMAGE_NAME=$(IMAGE_NAME) GO111MODULE=on goreleaser --snapshot --rm-dist .PHONY: clean clean: