Skip to content

Commit

Permalink
fix: 重新修复无法正确获取最新版本号的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Jul 13, 2023
1 parent 1dd1ffc commit 648924a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ func getLatestVersion() (version string) {
glog.Warning(context.TODO(), "解析response失败,原因:", err.Error())
return ""
}
return githubResJson.Get("data.github_res.assets.tag_name").String()
return githubResJson.Get("data.github_res.tag_name").String()
}

0 comments on commit 648924a

Please sign in to comment.