diff --git a/Makefile b/Makefile index 81f14c42..58b15f94 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ + GO=$(shell which go) RELEASE_FOLDER=dist/release @@ -9,6 +10,8 @@ SIGN?=docker run --rm -i $(VOLUME_MOUNTS) -e SM_API_KEY -e SM_CLIENT_CERT_PASSWO GOLANGCI_LINT?=docker run -t --rm -v "$(CURDIR):/data" -w "/data" golangci/golangci-lint:latest golangci-lint +SEGMENT_TOKEN?="" + .PHONY: clean clean: rm -fr dist @@ -59,7 +62,7 @@ clean-release: # and alias it. .PHONY: local local: - goreleaser build --clean --single-target --skip=validate --snapshot --config .goreleaser.local.yml + SEGMENT_TOKEN=${SEGMENT_TOKEN} goreleaser build --clean --single-target --skip=validate --snapshot --config .goreleaser.local.yml # run linting .PHONY: lint