Skip to content

Commit

Permalink
Add join
Browse files Browse the repository at this point in the history
  • Loading branch information
hbenali committed Jan 25, 2024
1 parent 75791ce commit 753169a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
id=$(echo ${addon} | cut -d ':' -f1 )
version=$(echo ${addon} | cut -d ':' -f2 )
curl -fsSL http://storage.exoplatform.org/public/Addons/${{ inputs.catalog }}.json | jq ".[] | select((.id==\"${id}\") and (.version==\"${version}\"))" > /tmp/custcat.json
cat /tmp/filtredcatalog.json /tmp/custcat.json | jq -s > /tmp/filtredcatalog.json
jq '. += $inputs' /tmp/filtredcatalog.json --slurpfile inputs /tmp/custcat.json > /tmp/filtredcatalog_tmp.json
mv /tmp/filtredcatalog_tmp.json /tmp/filtredcatalog.json
done
cp -f /tmp/filtredcatalog.json list.json
mkdir -p pkgs
Expand Down

0 comments on commit 753169a

Please sign in to comment.