mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-13 14:29:49 -04:00
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>