mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 04:16:57 +03:00
NOISSUE ignore merge commits in dev build changelog
This commit is contained in:
parent
6fd91be137
commit
5858483592
1 changed files with 6 additions and 0 deletions
|
|
@ -81,6 +81,12 @@ QString reprocessCommits(QByteArray json)
|
|||
{
|
||||
const auto & commitval = commitarray[i];
|
||||
auto commitobj = Json::requireObject(commitval);
|
||||
auto parents_info = Json::ensureArray(commitobj, "parents");
|
||||
// NOTE: this ignores merge commits, because they have more than one parent
|
||||
if(parents_info.size() > 1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
auto commit_url = Json::requireString(commitobj, "html_url");
|
||||
auto commit_info = Json::requireObject(commitobj, "commit");
|
||||
auto commit_message = Json::requireString(commit_info, "message");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue