Skip to content

Commit

Permalink
Merge pull request #772 from ccamacho/okd
Browse files Browse the repository at this point in the history
ci: remove pagination when publishing in Galaxy
  • Loading branch information
ccamacho committed Oct 25, 2023
2 parents f28394e + ce3d3ce commit bdaaa6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fi
namespace=kubeinit
name=kubeinit

all_published_versions=$(curl https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/$namespace/$name/versions/?format=json | jq -r '.data' | jq -c '.[].version')
all_published_versions=$(curl -s "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/$namespace/$name/versions/?format=json&limit=1000&offset=0" | jq -r '.data' | jq -c '.[].version')
current_galaxy_version=$(cat kubeinit/galaxy.yml | shyaml get-value version)
current_galaxy_namespace=$(cat kubeinit/galaxy.yml | shyaml get-value namespace)
current_galaxy_name=$(cat kubeinit/galaxy.yml | shyaml get-value name)
Expand Down

0 comments on commit bdaaa6d

Please sign in to comment.