Files
Gesa Stupperich 316b22b775 cmd/tsconnect{,wasmbuild}: allow passing version stamps via env
When the wasmbuild is run from external workflows, it can't derive
the version stamps from its build context. Allow setting the
ProdLDFlags version.longStamp and version.shortStamp from the
VERSION_LONG and VERSION_SHORT environment variables when present.

This way, if the wasmbuild caller already knows them (e.g. from
mkversion), it can pass them in.

This avoids "x.y.z-ERR-BuildInfo" showing up in the admin console's
machine version column.

Updates #19707

Signed-off-by: Gesa Stupperich <gesa@tailscale.com>
2026-09-01 17:30:01 +01:00
..