From a71b6a17ce0da93110ec4221821c9fb0bbea0901 Mon Sep 17 00:00:00 2001 From: Rebecca Stambler Date: Mon, 4 Nov 2019 12:37:03 -0500 Subject: [PATCH] internal/lsp: hardcode the version string on master This way, we can tell if someone is building gopls at head, or if they are using a tagged version. We should only change the version string on a release branch. Change-Id: I55eba534baa2e171315fe72242a400e2d2794314 Reviewed-on: https://go-review.googlesource.com/c/tools/+/205159 Reviewed-by: Ian Cottrell --- internal/lsp/debug/info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/lsp/debug/info.go b/internal/lsp/debug/info.go index 156b76e7b7..4b1477c823 100644 --- a/internal/lsp/debug/info.go +++ b/internal/lsp/debug/info.go @@ -21,7 +21,7 @@ const ( ) // Version is a manually-updated mechanism for tracking versions. -var Version = "v0.1.6" +var Version = "master" // This writes the version and environment information to a writer. func PrintVersionInfo(w io.Writer, verbose bool, mode PrintMode) {