From e366989a7d8f760c47f46cc0e046ba79768feb07 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 15 Mar 2021 16:58:26 -0700 Subject: [PATCH] Fix version string for local dev --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 7bb0ab828..b0d9f9a40 100644 --- a/main.go +++ b/main.go @@ -51,8 +51,9 @@ func main() { } else { config.GitCommit = time.Now().Format("20060102") } - config.BuildPlatform = BuildPlatform - + if BuildPlatform != "" { + config.BuildPlatform = BuildPlatform + } log.Infoln(config.GetReleaseString()) // Allows a user to restore a specific database backup