Browse Source

fixing version loading in makefile

Zach Rice 6 years ago
parent
commit
7b48cadf6d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
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: