Skip to content

Commit 76488cb

Browse files
committed
fix(bump version script): remove package-lock.json from git add command
1 parent 0022497 commit 76488cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/bump-version

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ function push_to_git {
100100
# Get the new version
101101
local new_release_tag=`cat version`
102102
# Add the changed files
103-
git add version package.json package-lock.json release-notes.md
103+
git add version package.json release-notes.md
104104

105105
# Commit it as a prerelease or a release
106106
# NOTE: Do not tag the commit, as the CI will then not create a release
107107
# Pre-releases will contain a dash in their version
108108
if [[ $new_release_tag =~ "-" ]]; then
109-
git commit -m "chore(release): prerelease $new_release_tag"
109+
git commit -m "chore(rel): prerelease $new_release_tag"
110110
else
111-
git commit -m "chore(release): release $new_release_tag"
111+
git commit -m "chore(rel): release $new_release_tag"
112112
fi
113113

114114
# Push the changes

0 commit comments

Comments
 (0)