Skip to content

Commit c638eb8

Browse files
committed
allow building goreleaser locally
1 parent 52dd680 commit c638eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ endif
140140
.PHONY: build-goreleaser
141141
build-goreleaser: ## Build Ingress Controller binary using GoReleaser
142142
@goreleaser -v || (code=$$?; printf "\033[0;31mError\033[0m: there was a problem with GoReleaser. Follow the docs to install it https://goreleaser.com/install\n"; exit $$code)
143-
GOOS=linux GOPATH=$(shell go env GOPATH) GOARCH=$(strip $(ARCH)) goreleaser build --clean --debug --snapshot --id kubernetes-ingress --single-target
143+
GOOS=$(strip $(GOOS)) GOPATH=$(shell go env GOPATH) GOARCH=$(strip $(ARCH)) goreleaser build --clean --snapshot --id kubernetes-ingress --single-target
144144

145145
.PHONY: debian-image
146146
debian-image: build ## Create Docker image for Ingress Controller (Debian)

0 commit comments

Comments
 (0)