go.toolchain.rev: add Go toolchain rev, tool to print it out
Updates tailscale/corp#3385 Change-Id: Ia0e285a0ae836744539c97ff6eff207588159688 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
431329e47c
commit
ebdd25920e
@ -9,3 +9,9 @@ import _ "embed"
|
||||
|
||||
//go:embed VERSION.txt
|
||||
var Version string
|
||||
|
||||
// GoToolchainRev is the git hash from github.com/tailscale/go that this release
|
||||
// should be built using. It may end in a newline.
|
||||
//
|
||||
//go:embed go.toolchain.rev
|
||||
var GoToolchainRev string
|
||||
|
Reference in New Issue
Block a user