version: advertise unstable track in CLI, daemon start-up

Fixes #865

Change-Id: I166e56c3744b0a113973682b9a5327d7aec189f1
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/6952/head
Brad Fitzpatrick 2 years ago committed by Brad Fitzpatrick
parent 25a0091f69
commit faf2d30439

@ -14,6 +14,9 @@ func String() string {
var ret strings.Builder
ret.WriteString(Short)
ret.WriteByte('\n')
if IsUnstableBuild() {
fmt.Fprintf(&ret, " track: unstable (dev); frequent updates and bugs are likely\n")
}
if GitCommit != "" {
var dirty string
if GitDirty {

Loading…
Cancel
Save