mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
version: advertise unstable track in CLI, daemon start-up
Fixes #865 Change-Id: I166e56c3744b0a113973682b9a5327d7aec189f1 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
25a0091f69
commit
faf2d30439
@ -14,6 +14,9 @@ func String() string {
|
|||||||
var ret strings.Builder
|
var ret strings.Builder
|
||||||
ret.WriteString(Short)
|
ret.WriteString(Short)
|
||||||
ret.WriteByte('\n')
|
ret.WriteByte('\n')
|
||||||
|
if IsUnstableBuild() {
|
||||||
|
fmt.Fprintf(&ret, " track: unstable (dev); frequent updates and bugs are likely\n")
|
||||||
|
}
|
||||||
if GitCommit != "" {
|
if GitCommit != "" {
|
||||||
var dirty string
|
var dirty string
|
||||||
if GitDirty {
|
if GitDirty {
|
||||||
|
Loading…
Reference in New Issue
Block a user