Skip to content

Commit 91a22ea

Browse files
committed
Run npm i to update version in package-lock.json
1 parent bd6aec5 commit 91a22ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/tag-release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ then
3535

3636
sed -i '' -e "s/\(\"version\": *\"\).*\(\".*\)$/\1${newVersion}\2/" package.json
3737
sed -i '' -e "s/\(\"react-lifecycle-visualizer\": *\"[\^~]\{0,1\}\).*\(\".*\)$/\1${newVersion}\2/" examples/parent-child-demo/package.json
38-
git add package.json examples/parent-child-demo/package.json
38+
npm i
39+
git add package.json package-lock.json examples/parent-child-demo/package.json
3940
git commit -m "Release ${newVersion}"
4041
git tag -a "v${newVersion}" -m "Release ${newVersion}"
4142
else

0 commit comments

Comments
 (0)