Skip to content

Commit ef88cd0

Browse files
committed
fix: building release-binaries fails
When doing the v2.1.3 there was an error when building the release binaries. Specifically the `release-binary` task was failing with the following error: ``` error obtaining vcs status exit status 128 ``` Signed-off-by: Richard Case <[email protected]>
1 parent bf08732 commit ef88cd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ release-binary: $(RELEASE_DIR) versions.mk build-toolchain ## Release binary
602602
-v "$$(pwd):/workspace$(DOCKER_VOL_OPTS)" \
603603
-w /workspace \
604604
$(TOOLCHAIN_IMAGE) \
605+
git config --global --add safe.directory /workspace; \
605606
go build -ldflags '$(LDFLAGS) -extldflags "-static"' \
606607
-o $(RELEASE_DIR)/$(notdir $(RELEASE_BINARY))-$(GOOS)-$(GOARCH)$(EXT) $(RELEASE_BINARY)
607608

0 commit comments

Comments
 (0)