mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
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:
parent
1118e32177
commit
a71b6a17ce
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user