Unverified Commit dd5d964c authored by Nicolas Giard's avatar Nicolas Giard Committed by GitHub

ci: pass version to jq vars

parent 1a815598
......@@ -37,8 +37,9 @@ jobs:
run: |
sudo apt-get install jq -y
mv package.json pkg-temp.json
jq -r '. + {dev:false, version:"$REL_VERSION_STRICT"}' pkg-temp.json > package.json
jq --arg vs "$REL_VERSION_STRICT" -r '. + {dev:false, version:$vs}' pkg-temp.json > package.json
rm pkg-temp.json
cat package.json
- name: Login to DockerHub
uses: docker/login-action@v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment