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 <iancottrell@google.com>
This commit is contained in:
Rebecca Stambler 2019-11-04 12:37:03 -05:00
parent 1118e32177
commit a71b6a17ce

View File

@ -21,7 +21,7 @@ const (
) )
// Version is a manually-updated mechanism for tracking versions. // 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. // This writes the version and environment information to a writer.
func PrintVersionInfo(w io.Writer, verbose bool, mode PrintMode) { func PrintVersionInfo(w io.Writer, verbose bool, mode PrintMode) {