Fix escaping issues in emscripten CI commands

This commit is contained in:
David Tolnay 2018-09-15 16:37:46 -07:00
parent 810cde1c84
commit 5023e2ad52
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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