homebrew updater
TRANSCRIPT
GitHub Tag 排序
Tags Api
https://developer.github.com/v3/repos/#list-tags
Commit Api
https://developer.github.com/v3/repos/commits/#get-a-single-commit
GitHub Tag 排序
Fetch all tags
Compare with DB
Fetch non-existing commits
Store commits to DB
Sort all commits
Get newest tag
Image Source
https://cldup.com/1gFdoLk6Rg.png
https://pbs.twimg.com/media/Csy9dySWgAAAo5B.png
http://imgsrc.baidu.com/baike/pic/item/f31fbe096b63f624dc918b358e44ebf81a4ca33c.jpg
https://i.ytimg.com/vi/3UVFDFYRrPE/maxresdefault.jpg