Skip to content

Commit

Permalink
Try sh brackets?
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Mar 28, 2024
1 parent e3665f0 commit e26861f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
export PULP_URL='https://{{ pulp_ip.stdout }}/api/galaxy/pulp/api/v3/';
curl -L -k -u admin:password -o status.json 'https://{{ pulp_ip.stdout }}/api/galaxy/pulp/api/v3/status/';
curl -L -k -u admin:password -o api.json 'https://{{ pulp_ip.stdout }}/api/galaxy/pulp/api/v3/docs/api.json?bindings&plugin={{ item }}';
if [[ "{{ item }}" == "galaxy_ng" ]]; then
if [ "{{ item }}" == "galaxy_ng" ]; then
cat status.json | head
export REPORTED_VERSION=$(jq '.versions[] | select (.component == "galaxy").version' status.json | tr -d '"')
echo "REPORTED_VERSION: ${REPORTED_VERSION}"
Expand Down

0 comments on commit e26861f

Please sign in to comment.