Skip to content

Commit 3497f58

Browse files
committed
Allow update for dev
1 parent 68f63b4 commit 3497f58

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

updater/updater.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ import (
1212
"os"
1313
"path/filepath"
1414
"runtime"
15-
"strings"
1615
"time"
1716

1817
log "github.com/Sirupsen/logrus"
18+
"github.com/inconshreveable/go-update"
1919
"github.com/kr/binarydist"
2020

21-
"github.com/inconshreveable/go-update"
2221
"github.com/kardianos/osext"
2322
)
2423

@@ -257,8 +256,8 @@ func (u *Updater) update() error {
257256
}
258257

259258
func (u *Updater) wantUpdate() bool {
260-
if strings.Contains(u.CurrentVersion, "dev") {
261-
return false
262-
}
259+
// if strings.Contains(u.CurrentVersion, "dev") {
260+
// return false
261+
// }
263262
return true
264263
}

0 commit comments

Comments
 (0)