summaryrefslogtreecommitdiffhomepage
path: root/version-embed.go
AgeCommit message (Collapse)AuthorFilesLines
2024-10-06tailscaleroot: panic if tailscale_go build tag but Go toolchain mismatchBrad Fitzpatrick1-1/+17
Fixes #13527 Change-Id: I05921969a84a303b60d1b3b9227aff9865662831 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-02-10version: return correct Meta.MajorMinorPatch in non-dev buildsDavid Anderson1-1/+6
Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-02go.toolchain.rev: use new statically built toolchainDavid Anderson1-6/+0
Also removes the toolchain builds from flake.nix. For now the flake build uses upstream Go 1.20, a followup change will switch it back to our custom toolchain. Updates tailscale/corp#9005 Signed-off-by: David Anderson <danderson@tailscale.com>
2023-01-27all: update copyright and license headersWill Norris1-3/+2
This updates all source files to use a new standard header for copyright and license declaration. Notably, copyright no longer includes a date, and we now use the standard SPDX-License-Identifier header. This commit was done almost entirely mechanically with perl, and then some minimal manual fixes. Updates #6865 Signed-off-by: Will Norris <will@tailscale.com>
2022-12-24cmd/printdep: support printing the toolchain SRI hash.David Anderson1-0/+6
Updates #6845. Signed-off-by: David Anderson <danderson@tailscale.com>
2022-06-29Docker: add ALPINE.txt to manage alpine versionsMaisem Ali1-0/+3
The goal here is to 1. make it so that the number doesn't diverge between the various places we had it defined 2. not define the number in corp, only in oss Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-01-03go.toolchain.rev: add Go toolchain rev, tool to print it outBrad Fitzpatrick1-0/+6
Updates tailscale/corp#3385 Change-Id: Ia0e285a0ae836744539c97ff6eff207588159688 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-10-28version: embed VERSION.txt in unstamped versionBrad Fitzpatrick1-0/+11
Temporary measure until we switch to Go 1.18. $ go run ./cmd/tailscale version 1.17.0-date.20211022 go version: go1.17 Updates #81 Change-Id: Ic82ebffa5f46789089e5fb9810b3f29e36a47f1a Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>