Skip to content

Commit

Permalink
PRODENG-2805 makefile has default segment token (#531)
Browse files Browse the repository at this point in the history
- fix broken go-releaser builds for missing segment token, when makefile
  is used

Signed-off-by: James Nesbitt <[email protected]>
  • Loading branch information
james-nesbitt authored Dec 12, 2024
1 parent 6eb7b24 commit 45ab9cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

GO=$(shell which go)

RELEASE_FOLDER=dist/release
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 45ab9cd

Please sign in to comment.