Skip to content

Commit

Permalink
Change list-remote to include all versions
Browse files Browse the repository at this point in the history
- by default the github api pagination is set to 30 items.
- explicitly requesting ```per_page=1000``` to ensure we get ALL tags
  • Loading branch information
cfbarbero committed Nov 6, 2018
1 parent 46d1cb0 commit ef48306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/tgenv-list-remote
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ ${#} -ne 0 ];then
exit 1
fi

link_release="https://api.github.com/repos/gruntwork-io/terragrunt/tags"
link_release="https://api.github.com/repos/gruntwork-io/terragrunt/tags?per_page=1000"
print=`curl --tlsv1.2 -sf $link_release`

return_code=$?
Expand Down

0 comments on commit ef48306

Please sign in to comment.