From 7bd8fadf7654dc6c1e1717cf3021d5f0ede1e041 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Sun, 7 Mar 2021 17:24:45 +0000 Subject: [PATCH] IsNew() compares commit, not version --- updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.go b/updater.go index 5b7aafd..73e5248 100644 --- a/updater.go +++ b/updater.go @@ -201,7 +201,7 @@ func (ud *Updater) GetTag() (Tag, int, error) { } func (t *Tag) IsNew() bool { - return t.Version != version + return t.Version != commit } func (ud *Updater) getRelease() (release GHRelease, status int, err error) {