diff --git a/README.md b/README.md index 6da3a4f..1bd5786 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ If you want to install from source using `go install`, just run: go install github.com/thegeeklab/git-sv/cmd/git-sv@latest # if you want to add the version on the binary, run this command instead. -GITSV_VERSION=$(go list -f '{{ .Version }}' -m github.com/thegeeklab/git-sv/v2@latest | sed 's/v//') && go install --ldflags "-X main.Version=$SGITSV_VERSION" github.com/thegeeklab/git-sv/cmd/git-sv@v$GITSV_VERSION +GITSV_VERSION=$(go list -f '{{ .Version }}' -m github.com/thegeeklab/git-sv@latest | sed 's/v//') && go install --ldflags "-X main.Version=$SGITSV_VERSION" github.com/thegeeklab/git-sv/cmd/git-sv@v$GITSV_VERSION ``` ### Configuration