Skip to content

Commit 6ec3881

Browse files
committed
Commit package lock as part of release
1 parent 88b7ea6 commit 6ec3881

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

release.sh

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ read -p "Enter new version (current is $current_version): " new_version
1212
# Update package.json
1313
npm version $new_version --no-git-tag-version
1414

15+
git add package.json package-lock.json
16+
git commit -m "Bump version to $new_version"
17+
1518
# Start a new release branch
1619
git flow release start $new_version
1720

0 commit comments

Comments
 (0)