Skip to content

Commit

Permalink
fix: version, commit, date not being updated in release binaries
Browse files Browse the repository at this point in the history
closes #33

Signed-off-by: Liam Stanley <[email protected]>
  • Loading branch information
lrstanley committed Sep 13, 2023
1 parent 53f2276 commit d0e7c05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0e7c05

Please sign in to comment.