tailscale/tool
Brad Fitzpatrick b56058d7e3 tool/gocross: fix regression detecting when gocross needs rebuild
Fix regression from #8108 (Mar 2023). Since that change, gocross has
always been rebuilt on each run of ./tool/go (gocross-wrapper.sh),
adding ~100ms.  (Well, not totally rebuilt; cmd/go's caching still
ends up working fine.)

The problem was $gocross_path was just "gocross", which isn't in my
path (and "." isn't in my $PATH, as it shouldn't be), so this line was
always evaluating to the empty string:

    gotver="$($gocross_path gocross-version 2>/dev/null || echo '')"

The ./gocross is fine because of the earlier `cd "$repo_root"`

Updates tailscale/corp#21262
Updates tailscale/corp#21263

Change-Id: I80d25446097a3bb3423490c164352f0b569add5f
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-07-01 14:40:51 -07:00
..
gocross tool/gocross: fix regression detecting when gocross needs rebuild 2024-07-01 14:40:51 -07:00
binaryen.rev go.toolchain.rev: update to Go 1.20rc3 2023-01-30 21:55:13 -08:00
go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
helm tool: download helm CLI (#9981) 2023-10-30 18:20:33 +00:00
helm.rev tool: download helm CLI (#9981) 2023-10-30 18:20:33 +00:00
node tool: force HTTP/1.1 in curl to prevent hang behind load balancer 2023-08-21 08:37:26 -07:00
node.rev tool/{node,yarn}: update node and yarn tools 2023-08-10 17:29:29 -04:00
wasm-opt cmd/tsconnect: run wasm-opt on the generated wasm file 2022-10-25 13:16:37 -07:00
yarn release/dist: run yarn build before building CLI 2023-08-22 11:12:47 -07:00
yarn.rev cmd/tsconnect: pin yarn and node 2022-07-22 11:36:49 -07:00