From 4a2e8e16733b5523f1f54be06746b2bdd1bb84b0 Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Wed, 6 May 2020 16:36:41 +1000 Subject: [PATCH] fix(common): npm install required for auto inc lerna versions --- resources/build/increment-version.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/build/increment-version.sh b/resources/build/increment-version.sh index 6574ef0ab7..217f3dbcc7 100755 --- a/resources/build/increment-version.sh +++ b/resources/build/increment-version.sh @@ -103,6 +103,8 @@ if [ "$action" == "commit" ]; then # Also updates package versions, committing those changes # Uses the 'version' run script defined in the base package.json. + npm install + npm run version -- "$NEWVERSION" # Version info will be updated in lerna.json and all the lerna-managed package.json files.