1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

updater: check build is ready

This commit is contained in:
Harvey Tindall 2022-01-30 18:25:47 +00:00
parent a8daa2c77e
commit 9395165916
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -205,7 +205,7 @@ func (ud *Updater) GetTag() (Tag, int, error) {
} }
func (t *Tag) IsNew() bool { func (t *Tag) IsNew() bool {
return t.Version[:7] != commit return t.Version[:7] != commit && t.Ready
} }
func (ud *Updater) getRelease() (release GHRelease, status int, err error) { func (ud *Updater) getRelease() (release GHRelease, status int, err error) {