Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use octokit's auto pagination #1

Merged
merged 2 commits into from
Mar 5, 2015
Merged

Use octokit's auto pagination #1

merged 2 commits into from
Mar 5, 2015

Conversation

glasnt
Copy link
Contributor

@glasnt glasnt commented Oct 3, 2014

Increases the limit on the amount of releases returned to be compared against local tags.
Without this change, only the most recent 30 releases are listed. If local release/tag number is higher than this, then github-release attempts to re-release an older version, which fails since it already exists.

https://github.com/octokit/octokit.rb#auto-pagination

@glasnt
Copy link
Contributor Author

glasnt commented Oct 3, 2014

github_releases from the main run method now returns more than 30 results. Tested against anchor/machiavelli (the same repo that I encountered the original issue)

mpalmer added a commit that referenced this pull request Mar 5, 2015
Use octokit's auto pagination
@mpalmer mpalmer merged commit 2db5c33 into mpalmer:master Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants