7 lines
149 B
Bash
Executable File
7 lines
149 B
Bash
Executable File
#!/bin/sh
|
|
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
if [ "$BRANCH" != "main" ]; then
|
|
exit 0
|
|
fi
|
|
pnpm turbo run build --filter="...[origin/$BRANCH]"
|