swc/scripts/git-diff.sh
2024-07-19 13:22:34 +09:00

7 lines
171 B
Bash
Executable File

#!/usr/bin/env bash
#
# Used to generate `swc-bump`
set -eu
git diff --name-only HEAD upstream/main | grep -E '^crates/' | sed -e "s/^crates\///" | sed 's/\/.*//' | uniq