mirror of
https://github.com/status-im/status-app.git
synced 2026-08-27 07:01:14 +00:00
fix(ci): show more info on bottle fetch errors
Otherwise we just get non-descript stuff like: jq: parse error: Invalid numeric literal at line 1, column 7 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
@@ -10,7 +10,10 @@ function get_gh_pkgs_token() {
|
||||
}
|
||||
|
||||
function get_bottle_json() {
|
||||
brew info --json=v1 "${1}" | jq ".[0].bottle.stable.files[\"${2}\"]"
|
||||
BOTTLE_INFO=$(brew info --json=v1 "${1}")
|
||||
{
|
||||
echo "${BOTTLE_INFO}" | jq ".[0].bottle.stable.files[\"${2}\"]"
|
||||
} || echo -e "Failed to get bottle files from:\n${BOTTLE_INFO}"
|
||||
}
|
||||
|
||||
function fetch_bottle() {
|
||||
|
||||
Reference in New Issue
Block a user