Skip to content

Commit 435d702

Browse files
ci(release): npm install in bump-version.sh
Needed so that the `package-lock.json` remains in sync with the `package.json` after bumping version numbers.
1 parent 0a89b3d commit 435d702

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/bump-version.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ done
3535
# Update the optional deps in the main cli npm package
3636
# Requires jq to be installed - should be installed ootb on github runners
3737
jq '.optionalDependencies |= map_values("'"${TARGET}"'")' $SCRIPT_DIR/../package.json > package.json.tmp && mv package.json.tmp $SCRIPT_DIR/../package.json
38+
39+
# Update the dependencies in the package-lock.json, too, skipping the download
40+
# because the new version is not published yet.
41+
SENTRYCLI_SKIP_DOWNLOAD=1 npm install

0 commit comments

Comments
 (0)