version-embed.go 556 B

1234567891011121314151617181920
  1. // Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Package tailscaleroot embeds VERSION.txt into the binary.
  5. package tailscaleroot
  6. import _ "embed"
  7. //go:embed VERSION.txt
  8. var Version string
  9. //go:embed ALPINE.txt
  10. var AlpineDockerTag string
  11. // GoToolchainRev is the git hash from github.com/tailscale/go that this release
  12. // should be built using. It may end in a newline.
  13. //
  14. //go:embed go.toolchain.rev
  15. var GoToolchainRev string