From 7b48cadf6d3b5240c5dce572687e190440cc1e8f Mon Sep 17 00:00:00 2001 From: Zach Rice Date: Wed, 22 Jan 2020 20:42:14 -0500 Subject: [PATCH] fixing version loading in makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eb16018e..5c9fe830 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ VERSION := `git fetch --tags && git tag | sort -V | tail -1` PKG=github.com/zricethezav/gitleaks -LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/version.Version=$(VERSION)" -_LDFLAGS="github.com/zricethezav/gitleaks/version.Version=$(VERSION)" +LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v3/version.Version=$(VERSION)" +_LDFLAGS="github.com/zricethezav/gitleaks/v3/version.Version=$(VERSION)" COVER=--cover --coverprofile=cover.out test-cover: