chore(script): Delete CRLF from jq print-outs
This commit is contained in:
parent
0fead391d2
commit
2c0c69142d
|
@ -38,7 +38,8 @@ get_assets(){
|
|||
--header "${AUTH}" \
|
||||
--header "Accept: application/vnd.github.v3+json" \
|
||||
"https://api.github.com/repos/emqx/${DASHBOARD_REPO}/releases/tags/${VERSION}" \
|
||||
| jq --raw-output ".assets[] | select(.name==\"${RELEASE_ASSET_FILE}\").url")"
|
||||
| jq --raw-output ".assets[] | select(.name==\"${RELEASE_ASSET_FILE}\").url" \
|
||||
| tr -d '\n' | tr -d '\r')"
|
||||
# Get GitHub's S3 redirect URL
|
||||
redirect_url=$(curl --silent --show-error \
|
||||
--header "${AUTH}" \
|
||||
|
|
Loading…
Reference in New Issue