Skip to content

Commit

Permalink
forgot to bump in code... (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
zricethezav authored Feb 27, 2020
1 parent 94cae90 commit 8b3ce2c
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/v3/version.Version=$(VERSION)"
_LDFLAGS="github.com/zricethezav/gitleaks/v3/version.Version=$(VERSION)"
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v4/version.Version=$(VERSION)"
_LDFLAGS="github.com/zricethezav/gitleaks/v4/version.Version=$(VERSION)"
COVER=--cover --coverprofile=cover.out

test-cover:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ docker pull zricethezav/gitleaks
#### Go
Ensure `GO111MODULE=on` is set as an env var
```bash
go get github.com/zricethezav/gitleaks/v3@latest
go get github.com/zricethezav/gitleaks/v4@latest
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion audit/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io/ioutil"
"path"

"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v4/manager"

log "github.com/sirupsen/logrus"
)
Expand Down
6 changes: 3 additions & 3 deletions audit/audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"sort"
"testing"

"github.com/zricethezav/gitleaks/v3/config"
"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/config"
"github.com/zricethezav/gitleaks/v4/manager"
"github.com/zricethezav/gitleaks/v4/options"

"github.com/sergi/go-diff/diffmatchpatch"
)
Expand Down
4 changes: 2 additions & 2 deletions audit/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"sync"
"time"

"github.com/zricethezav/gitleaks/v3/config"
"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v4/config"
"github.com/zricethezav/gitleaks/v4/manager"

"github.com/BurntSushi/toml"
"github.com/sergi/go-diff/diffmatchpatch"
Expand Down
4 changes: 2 additions & 2 deletions audit/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"
"time"

"github.com/zricethezav/gitleaks/v3/config"
"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v4/config"
"github.com/zricethezav/gitleaks/v4/manager"

log "github.com/sirupsen/logrus"
"gopkg.in/src-d/go-git.v4"
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"regexp"
"strconv"

"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/options"

"github.com/BurntSushi/toml"
)
Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package config

import (
"fmt"
"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/options"
"regexp"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/zricethezav/gitleaks/v3
module github.com/zricethezav/gitleaks/v4

go 1.13

Expand Down
6 changes: 3 additions & 3 deletions hosts/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"strings"
"sync"

"github.com/zricethezav/gitleaks/v3/audit"
"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/audit"
"github.com/zricethezav/gitleaks/v4/manager"
"github.com/zricethezav/gitleaks/v4/options"

"github.com/google/go-github/github"
log "github.com/sirupsen/logrus"
Expand Down
6 changes: 3 additions & 3 deletions hosts/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"sync"

"github.com/zricethezav/gitleaks/v3/audit"
"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/audit"
"github.com/zricethezav/gitleaks/v4/manager"
"github.com/zricethezav/gitleaks/v4/options"

log "github.com/sirupsen/logrus"
"github.com/xanzy/go-gitlab"
Expand Down
2 changes: 1 addition & 1 deletion hosts/host.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package hosts

import (
"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v4/manager"
"strings"
)

Expand Down
6 changes: 3 additions & 3 deletions hosts/hosts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package hosts
import (
"flag"
"fmt"
"github.com/zricethezav/gitleaks/v3/config"
"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/config"
"github.com/zricethezav/gitleaks/v4/manager"
"github.com/zricethezav/gitleaks/v4/options"
"os"
"testing"
)
Expand Down
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"os"
"time"

"github.com/zricethezav/gitleaks/v3/audit"
"github.com/zricethezav/gitleaks/v3/config"
"github.com/zricethezav/gitleaks/v3/hosts"
"github.com/zricethezav/gitleaks/v3/manager"
"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/audit"
"github.com/zricethezav/gitleaks/v4/config"
"github.com/zricethezav/gitleaks/v4/hosts"
"github.com/zricethezav/gitleaks/v4/manager"
"github.com/zricethezav/gitleaks/v4/options"

"github.com/hako/durafmt"
log "github.com/sirupsen/logrus"
Expand Down
4 changes: 2 additions & 2 deletions manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"text/tabwriter"
"time"

"github.com/zricethezav/gitleaks/v3/config"
"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/config"
"github.com/zricethezav/gitleaks/v4/options"

"github.com/hako/durafmt"
"github.com/mattn/go-colorable"
Expand Down
4 changes: 2 additions & 2 deletions manager/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package manager
import (
"crypto/rand"
"fmt"
"github.com/zricethezav/gitleaks/v3/config"
"github.com/zricethezav/gitleaks/v3/options"
"github.com/zricethezav/gitleaks/v4/config"
"github.com/zricethezav/gitleaks/v4/options"
"io"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os/user"
"strings"

"github.com/zricethezav/gitleaks/v3/version"
"github.com/zricethezav/gitleaks/v4/version"

"github.com/jessevdk/go-flags"
log "github.com/sirupsen/logrus"
Expand Down

0 comments on commit 8b3ce2c

Please sign in to comment.