Skip to content

Commit

Permalink
update jq argument syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jeddai committed Aug 9, 2022
1 parent 905c468 commit f0a3ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
git config --global --add safe.directory "/github/workspace/$1"

cd $1
curl $3 | jq '{"data":map(select(.appName == "$4"))}' > $2
curl $3 | jq --arg APP_NAME "$4" '{"data":map(select(.appName == $APP_NAME))}' > $2

git status
export CHANGED=$(git status -s | wc -l)
Expand Down

0 comments on commit f0a3ffd

Please sign in to comment.