version-embed.go 467 B

12345678910111213141516171819
  1. // Copyright (c) Tailscale Inc & AUTHORS
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Package tailscaleroot embeds VERSION.txt into the binary.
  4. package tailscaleroot
  5. import _ "embed"
  6. //go:embed VERSION.txt
  7. var Version string
  8. //go:embed ALPINE.txt
  9. var AlpineDockerTag string
  10. // GoToolchainRev is the git hash from github.com/tailscale/go that this release
  11. // should be built using. It may end in a newline.
  12. //
  13. //go:embed go.toolchain.rev
  14. var GoToolchainRev string