From 2c155cdc95108823324f05a5993f84d3f2ef6a37 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Thu, 12 May 2022 14:08:39 +0530 Subject: [PATCH] Makefile: Added setup-go-work to build step as well (#20193) Without this, the go.work file would not get generated in a fresh build. ```release-note NONE ``` --- build/release.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/release.mk b/build/release.mk index 5f10e4f4e8..4ac581fee7 100644 --- a/build/release.mk +++ b/build/release.mk @@ -82,9 +82,9 @@ else env GOOS=windows GOARCH=amd64 $(GO) build -o $(GOBIN)/windows_amd64 $(GOFLAGS) -trimpath -ldflags '$(LDFLAGS)' ./cmd/... endif -build: build-linux build-windows build-osx +build: setup-go-work build-linux build-windows build-osx -build-cmd: build-cmd-linux build-cmd-windows build-cmd-osx +build-cmd: setup-go-work build-cmd-linux build-cmd-windows build-cmd-osx build-client: @echo Building mattermost web app