Skip to content

Commit c498346

Browse files
cursoragentcameroncooke
authored andcommitted
Fix: include package-lock.json in release commits
Ensures npm ci and workflows use a lockfile that matches the bumped package version.
1 parent bcb7d21 commit c498346

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ if [[ "$SKIP_VERSION_UPDATE" == "false" ]]; then
326326
echo ""
327327
echo "📦 Committing version changes..."
328328
if [[ -f server.json ]]; then
329-
run git add package.json README.md server.json
329+
run git add package.json package-lock.json README.md server.json
330330
else
331-
run git add package.json README.md
331+
run git add package.json package-lock.json README.md
332332
fi
333333
run git commit -m "Release v$VERSION"
334334
else

0 commit comments

Comments
 (0)