Compare commits

...
2 Commits
Author SHA1 Message Date
Zach Rice 7b48cadf6d fixing version loading in makefile 2020-01-22 20:42:14 -05:00
Zachary Rice 6eab8a7a0a Update README.md 2020-01-22 20:00:27 -05:00
2 changed files with 4 additions and 4 deletions

No files matched your search

+2 -2
View File
@@ -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:
+2 -2
View File
@@ -41,9 +41,9 @@ docker pull zricethezav/gitleaks
```
#### Go
Ensure `GO111MODULE=on` is set as an env var
```bash
go get -u github.com/zricethezav/gitleaks
go get github.com/zricethezav/gitleaks/v3@latest
```
## Usage