Skip to content

Commit

Permalink
build with -mod vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
iwilltry42 committed Nov 5, 2021
1 parent 89d9792 commit a1a04b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ TESTS := ./...
TESTFLAGS :=
LDFLAGS := -w -s -X github.com/rancher/k3d/v5/version.Version=${GIT_TAG} -X github.com/rancher/k3d/v5/version.K3sVersion=${K3S_TAG}
GCFLAGS :=
GOFLAGS :=
GOFLAGS := -mod vendor
BINDIR := $(CURDIR)/bin
BINARIES := k3d

Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var K3sVersion = "v1.21.4-k3s2"
// GetVersion returns the version for cli, it gets it from "git describe --tags" or returns "dev" when doing simple go build
func GetVersion() string {
if len(Version) == 0 {
return "v4-dev"
return "v5-dev"
}
return Version
}
Expand Down

0 comments on commit a1a04b7

Please sign in to comment.