Skip to content

Commit 7477528

Browse files
Merge pull request #1 from ably-forks/use-jq
Use jq instead of Ruby
2 parents 2c0564f + 818cc00 commit 7477528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/compile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fi
2929
cache_get_url=$(curl -s https://api.heroku.com/apps/$SHARED_BUILD_CACHE_APP_NAME/build-metadata \
3030
-H "Accept: application/vnd.heroku+json; version=3.build-metadata" \
3131
-H "Authorization: Bearer $HEROKU_API_KEY" \
32-
| ruby -e "require 'json'; print JSON[STDIN.read]['cache_get_url']")
32+
| jq -r .cache_get_url)
3333

3434
echo "Restoring shared build cache from app [$SHARED_BUILD_CACHE_APP_NAME]..."
3535

0 commit comments

Comments
 (0)