From bf62a2c1a571dd6817c250f3792631a76fac48da Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 8 Oct 2024 15:34:57 -0400 Subject: [PATCH] fix(dgraph) closes #7570 --- projects/dgraph.io/package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/dgraph.io/package.yml b/projects/dgraph.io/package.yml index ed7cb753f4..b740a80c12 100644 --- a/projects/dgraph.io/package.yml +++ b/projects/dgraph.io/package.yml @@ -20,11 +20,12 @@ build: GOSUMDB: sum.golang.org GO111MODULE: on CGO_ENABLED: 0 - BUILDLOC: "{{prefix}}/bin/dgraph" + BUILDLOC: '{{prefix}}/bin/dgraph' LDFLAGS: - -s - -w - -X github.com/dgraph-io/dgraph/x.dgraphVersion={{version}} + - -X github.com/dgraph-io/dgraph/v{{version.major}}/x.dgraphVersion={{version}} linux: # or segmentation fault # fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575