From d0e7c05adb439e02625548473c4d1e17a2534c80 Mon Sep 17 00:00:00 2001 From: Liam Stanley Date: Tue, 12 Sep 2023 21:39:19 -0400 Subject: [PATCH] fix: version, commit, date not being updated in release binaries closes #33 Signed-off-by: Liam Stanley --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index f0054b6..762e27f 100644 --- a/main.go +++ b/main.go @@ -27,11 +27,13 @@ import ( yaml "gopkg.in/yaml.v2" ) -const ( +var ( version = "master" commit = "latest" date = "-" +) +const ( defaultCheckInterval = 30 * time.Second defaultTimeout = 15 * time.Second configRefreshInterval = 15 * time.Second