This is caused as there are no linux- versions returned in some of the pages (as a result of the output pagination) as you can see after you run the list-all script with verbose output using bash -x .asdf/plugins/gcloud/bin/list-all:
In this case, both grep commands used to fill the additions variable exits with 1 as there is no match.
Steps to reproduce
stano@sob ~ $ asdf plugin-add gcloud
updating plugin repository...HEAD is now at 8aa2e59 feat: add shorebird plugin (#949)
✅ All dependencies found on system!
stano@sob ~ $ asdf list gcloud
No versions installed
stano@sob ~ $ asdf list-all gcloud
`Plugin gcloud's list-all callback script failed with output:
Describe the bug
Listing
gcloud
versions with the current asdf version fails at the moment:This is caused as there are no
linux-
versions returned in some of the pages (as a result of the output pagination) as you can see after you run thelist-all
script with verbose output usingbash -x .asdf/plugins/gcloud/bin/list-all
:In this case, both
grep
commands used to fill theadditions
variable exits with1
as there is no match.Steps to reproduce
asdf version
v0.14.0-ccdd47d
asdf-gcloud version
current HEAD
gcloud version
this is not relevant here
Additional Information
No response