IsNew() compares commit, not version

pull/75/head
Harvey Tindall 4 years ago
parent 21490faa9e
commit 7bd8fadf76
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -201,7 +201,7 @@ func (ud *Updater) GetTag() (Tag, int, error) {
} }
func (t *Tag) IsNew() bool { func (t *Tag) IsNew() bool {
return t.Version != version return t.Version != commit
} }
func (ud *Updater) getRelease() (release GHRelease, status int, err error) { func (ud *Updater) getRelease() (release GHRelease, status int, err error) {

Loading…
Cancel
Save