Skip to content

Commit 437fcb7

Browse files
committed
fix: exclude dist directory from package.json search in snapshot-release script (#500)
Exclude `dist` directories when finding package.json files in snapshot release script This PR updates the `snapshot-release.sh` script to exclude `dist` directories when searching for package.json files. The script now uses `-not -path "*/dist/*"` in the find command to prevent processing package.json files that might exist in distribution directories.
1 parent 28750e3 commit 437fcb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/snapshot-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ while IFS= read -r -d '' file; do
197197
echo -e " ${GREEN}${NC} ${BOLD}$NAME${NC}"
198198
echo -e " ${VERSION}"
199199
fi
200-
done < <(find pkgs -name package.json -not -path "*/node_modules/*" -print0)
200+
done < <(find pkgs -name package.json -not -path "*/node_modules/*" -not -path "*/dist/*" -print0)
201201

202202
# Check for JSR package (edge-worker)
203203
if [[ -f pkgs/edge-worker/jsr.json ]]; then

0 commit comments

Comments
 (0)