autobumper: Increase to 100 the commits lookup
The last multus tag v3.8 was at commit 33 from HEAD, the autobumper uses
by default 30 commits so it were not found. This change increments it to
100.
@@ -202,7 +202,7 @@ func (componentOps *gitComponent) getLatestTaggedFromBranch(repo, owner, branch,
return "", "", errors.Wrap(err, "Failed to get release tag refs from github client API")
}
- branchCommits, _, err := componentOps.githubInterface.listCommits(owner, repo, &github.CommitsListOptions{SHA: branch})
+ branchCommits, _, err := componentOps.githubInterface.listCommits(owner, repo, &github.CommitsListOptions{ListOptions: github.ListOptions{PerPage: 100}, SHA: branch})
if err != nil {
return "", "", errors.Wrap(err, "Failed to get release tag refs from github client API")
}
