fix: scripts

fix exit codes
This commit is contained in:
nikomiko 2026-02-08 07:44:34 -05:00
parent 7f891fd3da
commit 53f5048707
2 changed files with 12 additions and 12 deletions

View file

@ -8,8 +8,8 @@
SOURCE_DIR=$1
npm i -g pnpm && pnpm setup && pnpm i -g turbo || { echo "Can't install node dependencies 😓 - code $?"; exit; }
cd "$SOURCE_DIR" || { echo "Can't cd 😓 - code $?"; exit; }
npm i -g pnpm && pnpm setup && pnpm i -g turbo || { echo "Can't install node dependencies 😓 - code $?"; exit $?; }
cd "$SOURCE_DIR" || { echo "Can't cd 😓 - code $?"; exit $?; }
git fetch --all && git branch "backup-$(date +'%s')" \
&& git checkout -f origin/main \
&& pnpm i && npx turbo build