2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2021-10-22 17:44:37 +01:00
|
|
|
|
|
|
|
// Package tailscaleroot embeds VERSION.txt into the binary.
|
|
|
|
package tailscaleroot
|
|
|
|
|
|
|
|
import _ "embed"
|
|
|
|
|
2023-02-07 07:23:00 +00:00
|
|
|
// VersionDotTxt is the contents of VERSION.txt. Despite the tempting filename,
|
|
|
|
// this does not necessarily contain the accurate version number of the build, which
|
|
|
|
// depends on the branch type and how it was built. To get version information, use
|
|
|
|
// the version package instead.
|
|
|
|
//
|
2021-10-22 17:44:37 +01:00
|
|
|
//go:embed VERSION.txt
|
2023-02-07 07:23:00 +00:00
|
|
|
var VersionDotTxt string
|
2022-01-03 19:44:05 +00:00
|
|
|
|
2022-06-29 19:45:33 +01:00
|
|
|
//go:embed ALPINE.txt
|
|
|
|
var AlpineDockerTag string
|
|
|
|
|
2022-01-03 19:44:05 +00:00
|
|
|
// 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
|