You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Andrew Lytvynov f57cc19ba2
cmd/tailscale/cli: add latest version output to "tailscale version" (#8700)
Add optional `--upstream` flag to `tailscale version` to fetch the
latest upstream release version from `pkgs.tailscale.com`. This is
useful to diagnose `tailscale update` behavior or write other tooling.

Example output:
$ tailscale version --upstream --json
{
	"majorMinorPatch": "1.47.35",
	"short": "1.47.35",
	"long": "1.47.35-t6afffece8",
	"unstableBranch": true,
	"gitCommit": "6afffece8a32509aa7a4dc2972415ec58d8316de",
	"cap": 66,
	"upstream": "1.45.61"
}

Fixes #8669

RELNOTE=adds "tailscale version --upstream"

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
1 year ago
..
addlicense all: update tools that manage copyright headers 2 years ago
cloner tailcfg,ipn/ipnlocal,wgengine: add values to PeerCapabilities 1 year ago
containerboot cmd/containerboot,kube: consolidate the two kube clients 2 years ago
derper all: update exp/slices and fix call sites 1 year ago
derpprobe prober: migrate to Prometheus metric library 2 years ago
dist cmd/dist,release/dist: sign release tarballs with an ECDSA key (#8759) 1 year ago
get-authkey all: use cmpx.Or where it made sense 1 year ago
gitops-pusher cmd/gitops-pusher: re-use existing types from acl package 1 year ago
hello all: update copyright and license headers 2 years ago
k8s-operator cmd/k8s-operator: update controller-runtime to v0.15 2 years ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg all: update copyright and license headers 2 years ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
netlogfmt all: update exp/slices and fix call sites 1 year ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 2 years ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 2 years ago
sniproxy cmd/sniproxy: add client metrics 1 year ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: update copyright and license headers 2 years ago
stunc all: update copyright and license headers 2 years ago
sync-containers cmd/sync-containers: update latest and stable tags 2 years ago
tailscale cmd/tailscale/cli: add latest version output to "tailscale version" (#8700) 1 year ago
tailscaled util/linuxfw: remove yet-unused code to fix linux/arm64 crash 1 year ago
testcontrol all: update copyright and license headers 2 years ago
testwrapper cmd/testwrapper: handle build failures 1 year ago
tsconnect cmd/tsconnect: fix forgotten API change for wasm 2 years ago
tsshd all: update copyright and license headers 2 years ago
viewer util/codegen: support embedded fields 2 years ago