public bool IsUpdate(string currentVersion, GithubReleaseSchema latestReleaseInfo) { return(IsUpdate(currentVersion, latestReleaseInfo?.TagName)); }
public async Task <List <GithubReleaseSchema> > GetReleaseInfoAsync(string url) { var releaseJson = await client.GetStringAsync(url); return(GithubReleaseSchema.FromJson(releaseJson)); }