Alleggerisce il relay YouTube e rilascia Android 2.0.8.
ffmpeg fa solo remux copy A/V; le app fissano AAC 48 kHz mono; sync deploy non cancella più garage.prod.toml. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -13,10 +13,17 @@ if ssh "$SERVER" 'command -v rsync >/dev/null 2>&1'; then
|
||||
--exclude '.git' \
|
||||
--exclude 'native/android/build' \
|
||||
--exclude 'native/android/.gradle' \
|
||||
--exclude 'native/android/app/build' \
|
||||
--exclude 'native/android/dist' \
|
||||
--exclude 'native/android/keystore' \
|
||||
--exclude 'native/android/keystore.properties' \
|
||||
--exclude 'native/android/local.properties' \
|
||||
--exclude 'backend/log' \
|
||||
--exclude 'backend/tmp' \
|
||||
--exclude 'backend/.bundle' \
|
||||
--exclude 'infra/.env' \
|
||||
--exclude 'infra/garage/garage.prod.toml' \
|
||||
--exclude 'infra/garage/prod-credentials.env' \
|
||||
--exclude 'log/' \
|
||||
--exclude 'node_modules' \
|
||||
"$SRC/" "$SERVER:$DEST/"
|
||||
@@ -24,7 +31,10 @@ else
|
||||
echo "rsync non disponibile sul server, uso tar+scp..."
|
||||
tar -C "$SRC" -czf /tmp/matchlivetv-deploy.tar.gz \
|
||||
--exclude='./native/android/build' --exclude='./native/android/.gradle' \
|
||||
--exclude='./backend/log' --exclude='./backend/tmp' --exclude='./infra/.env' --exclude='./.git' .
|
||||
--exclude='./native/android/app/build' --exclude='./native/android/dist' \
|
||||
--exclude='./native/android/keystore' --exclude='./native/android/keystore.properties' \
|
||||
--exclude='./backend/log' --exclude='./backend/tmp' --exclude='./infra/.env' \
|
||||
--exclude='./infra/garage/garage.prod.toml' --exclude='./.git' .
|
||||
scp /tmp/matchlivetv-deploy.tar.gz "$SERVER:~/matchlivetv-deploy.tar.gz"
|
||||
ssh "$SERVER" "mkdir -p $DEST && tar -xzf ~/matchlivetv-deploy.tar.gz -C $DEST"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user