Update
This commit is contained in:
1 parent
3530afb854
commit
6903fcff27
2146 files changed
+112256
-190703
No files matched your search
+7
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// Copyright (c) Tailscale Inc & contributors
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
// Package tailscaleroot embeds VERSION.txt into the binary.
|
||||
@@ -26,6 +26,12 @@ var AlpineDockerTag string
|
||||
//go:embed go.toolchain.rev
|
||||
var GoToolchainRev string
|
||||
|
||||
// GoToolchainNextRev is like GoToolchainRev, but when using the
|
||||
// "go.toolchain.next.rev" when TS_GO_NEXT=1 is set in the environment.
|
||||
//
|
||||
//go:embed go.toolchain.next.rev
|
||||
var GoToolchainNextRev string
|
||||
|
||||
//lint:ignore U1000 used by tests + assert_ts_toolchain_match.go w/ right build tags
|
||||
func tailscaleToolchainRev() (gitHash string, ok bool) {
|
||||
bi, ok := debug.ReadBuildInfo()
|
||||
|
||||
Reference in new issue
Block a user