Update Makefile

This commit is contained in:
Zachary Rice authored and GitHub committed 2020-08-12 17:51:56 -04:00
1 parent fae366a404
commit 01b553a75d
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
VERSION := `git fetch --tags && git tag | sort -V | tail -1`
PKG=github.com/zricethezav/gitleaks
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v5/version.Version=$(VERSION)"
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v6/version.Version=$(VERSION)"
_LDFLAGS="github.com/zricethezav/gitleaks/v6/version.Version=$(VERSION)"
COVER=--cover --coverprofile=cover.out