Skip to content

Commit d0e7c05

Browse files
committed
fix: version, commit, date not being updated in release binaries
closes #33 Signed-off-by: Liam Stanley <[email protected]>
1 parent 53f2276 commit d0e7c05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ import (
2727
yaml "gopkg.in/yaml.v2"
2828
)
2929

30-
const (
30+
var (
3131
version = "master"
3232
commit = "latest"
3333
date = "-"
34+
)
3435

36+
const (
3537
defaultCheckInterval = 30 * time.Second
3638
defaultTimeout = 15 * time.Second
3739
configRefreshInterval = 15 * time.Second

0 commit comments

Comments
 (0)