Skip to content
Snippets Groups Projects
Verified Commit f3869e62 authored by Dominik Rimpf's avatar Dominik Rimpf :chipmunk:
Browse files

fix: url needs to be quoted

parent b6e51cfe
No related branches found
No related tags found
No related merge requests found
Pipeline #276486 passed
......@@ -37,7 +37,7 @@ build:
resource_group: ${CI_COMMIT_BRANCH} # this prevents parallel (potentially racy) pipeline runs
script:
- mkdir -p latest
- "(curl -LsS ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/jobs/artifacts/${CI_COMMIT_BRANCH}/download?job=build&job_token=${CI_JOB_TOKEN} | bsdtar -xf - -C latest) || true"
- "(curl -LsS '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/jobs/artifacts/${CI_COMMIT_BRANCH}/download?job=build&job_token=${CI_JOB_TOKEN}' | bsdtar -xf - -C latest) || true"
- test -d latest/dist && export LATEST_UTIL_VERSION=$(cd latest/dist; ls *.whl | sed -r 's/.*\+([a-z0-9.]+)-.*/\1/g')
- test -d latest/dist && export LATEST_API_VERSION=$(cd latest/dist; ls *.whl | sed -r 's/netdb_client-([0-9]+\.[0-9]+\.[0-9]+).*/\1/g')
- test -d latest/dist && export POST_NUM=$(cd latest/dist; ls *.whl | sed -r 's/.*\.post([0-9]+).*/\1/g')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment