ci-scripts: add -j flag to jq command
This commit is contained in:
parent
0334147690
commit
6d62d091df
@ -396,7 +396,7 @@ fi
|
||||
# -------------
|
||||
if [[ "${BUMP_NPM_DEPENDENCY_VERSION}" == true ]]; then
|
||||
pushd ${PROJECT_PATH}
|
||||
tmp=$(mktemp) && jq ".dependencies.\"${DEPENDENCY}\" = \"${VERSION}\"" package.json >"$tmp" && mv "$tmp" package.json
|
||||
tmp=$(mktemp) && jq -j ".dependencies.\"${DEPENDENCY}\" = \"${VERSION}\"" package.json >"$tmp" && mv "$tmp" package.json
|
||||
# npm install "${DEPENDENCY}@${VERSION}" --save-exact=true --legacy-peer-deps
|
||||
popd
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user