Skip to content

Commit

Permalink
Add some explanations about the github paging
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-tremblay committed May 6, 2024
1 parent 276b1a8 commit 7e02a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ mvn clean verify artifact:compare -Pfull,all

## To release

* Add the release notes in `website/site/content/notes.html` You use this code to generate it
* Add the release notes in `website/site/content/notes.html` You use this code to generate it. If you have more than 100 items, do it again with `&page=2`

```bash
# Get the milestone matching the version
Expand All @@ -131,7 +131,7 @@ milestone=$(curl -s "https://api.github.com/repos/easymock/objenesis/milestones"
echo "<h1>Version $version ($(date '+%Y-%m-%d'))</h1>"
echo
echo "<ul>"
curl -s "https://api.github.com/repos/easymock/objenesis/issues?milestone=${milestone}&state=all" | jq -r '.[] | " <li>" + .title + " (#" + (.number|tostring) + ")</li>"'
curl -s "https://api.github.com/repos/easymock/objenesis/issues?milestone=${milestone}&state=all&per_page=100" | jq -r '.[] | " <li>" + .title + " (#" + (.number|tostring) + ")</li>"'
echo "</ul>"
```

Expand Down

0 comments on commit 7e02a99

Please sign in to comment.