14 lines
427 B
Text
14 lines
427 B
Text
Disable phone-home calls / anonymous usage reporting
|
|
|
|
Index: lib/build/build.go
|
|
--- lib/build/build.go.orig
|
|
+++ lib/build/build.go
|
|
@@ -73,7 +73,7 @@ func setBuildData() {
|
|
|
|
exp := regexp.MustCompile(`^v\d+\.\d+\.\d+(-[a-z]+[\d\.]+)?$`)
|
|
IsRelease = exp.MatchString(Version)
|
|
- IsCandidate = strings.Contains(Version, "-rc.")
|
|
+ IsCandidate = false
|
|
IsBeta = strings.Contains(Version, "-")
|
|
|
|
stamp, _ := strconv.Atoi(Stamp)
|