Skip to content

Commit

Permalink
chore(ci): remove arch from ldflag (#8546)
Browse files Browse the repository at this point in the history
Dgraph version ldflag should not have arch (only version number). We
update the Makefile to not add this in the ldflags build arguments.
  • Loading branch information
joshua-goldstein authored Dec 16, 2022
1 parent 7b18a6b commit f065f6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dgraph/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ BUILD_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
ifeq ($(DGRAPH_VERSION),)
BUILD_VERSION ?= local
else
BUILD_VERSION ?= $(DGRAPH_VERSION)
# remove arch suffix from DGRAPH_VERSION for CD steps only
BUILD_VERSION := $(shell echo ${DGRAPH_VERSION} | cut -d "-" -f 1)
endif

GOOS ?= $(shell go env GOOS)
Expand Down

0 comments on commit f065f6a

Please sign in to comment.