From 6c9bb2786506cc1603f0379d9ace46eaa9a41e3e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 16 Oct 2023 21:45:41 +0200 Subject: [PATCH] fix gomod version in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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