From 5023e2ad5289488e988c066e1b9c40266011908a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 15 Sep 2018 16:37:46 -0700 Subject: [PATCH] Fix escaping issues in emscripten CI commands --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c752eba7..3f982d25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,8 +70,8 @@ matrix: - rust: nightly env: EMSCRIPTEN script: - - CARGO_WEB_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/koute/cargo-web/releases/latest) - - CARGO_WEB_VERSION=$(echo "${CARGO_WEB_RELEASE}" | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/') + - CARGO_WEB_RELEASE=$(curl -L -s -H Accept:application/json https://github.com/koute/cargo-web/releases/latest) + - CARGO_WEB_VERSION=$(echo "${CARGO_WEB_RELEASE}" | jq -r .tag_name) - CARGO_WEB_URL="https://github.com/koute/cargo-web/releases/download/${CARGO_WEB_VERSION}/cargo-web-x86_64-unknown-linux-gnu.gz" - nvm install 9