fix: dumb npm cli bug
This commit is contained in:
parent
dc1fb3b8b4
commit
35e6403067
@ -7,7 +7,7 @@ next_version=$(echo "${version}" | awk -F. -v OFS=. '{$NF += 1 ; print}')
|
||||
|
||||
echo "bumping client"
|
||||
cd "${git_root}/client"
|
||||
npm version "${next_version}"
|
||||
npm version "${next_version}" && npm i
|
||||
git add package-lock.json
|
||||
git add package.json
|
||||
|
||||
|
@ -5,7 +5,7 @@ updated=false
|
||||
|
||||
echo "updating client"
|
||||
cd "${git_root}/client"
|
||||
npm update --save
|
||||
npm update --save && npm i
|
||||
if ! git diff --exit-code package.json package-lock.json; then
|
||||
git add package-lock.json
|
||||
git add package.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user