ci: pass version to jq vars
This commit is contained in:
parent
1a815598f4
commit
dd5d964ce5
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -37,8 +37,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get install jq -y
|
sudo apt-get install jq -y
|
||||||
mv package.json pkg-temp.json
|
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
|
rm pkg-temp.json
|
||||||
|
cat package.json
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user