Fix setting commit & vendor variables via make

087db1de bumped the package version to v3, but the variables being set
in the Makefile for GitCommit & Vendor didn't change, which meant the
action had no effect. Fix this by updating the variable paths.
This commit is contained in:
Robert Coup 2022-10-13 12:17:50 +01:00
parent d3716c9024
commit ce270542a0

@ -26,9 +26,9 @@ GO_TEST_EXTRA_ARGS =
# DWARF-stripping is enabled unless DWARF=YesPlease.
BUILTIN_LD_FLAGS =
ifneq ("$(VENDOR)","")
BUILTIN_LD_FLAGS += -X github.com/git-lfs/git-lfs/config.Vendor=$(VENDOR)
BUILTIN_LD_FLAGS += -X github.com/git-lfs/git-lfs/v3/config.Vendor=$(VENDOR)
endif
BUILTIN_LD_FLAGS += -X github.com/git-lfs/git-lfs/config.GitCommit=$(GIT_LFS_SHA)
BUILTIN_LD_FLAGS += -X github.com/git-lfs/git-lfs/v3/config.GitCommit=$(GIT_LFS_SHA)
ifneq ("$(DWARF)","YesPlease")
BUILTIN_LD_FLAGS += -s
BUILTIN_LD_FLAGS += -w