mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
IsNew() compares commit, not version
This commit is contained in:
parent
21490faa9e
commit
7bd8fadf76
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user