stremio/apps/ios/scripts/VMC-TestFlight-0.5.36.command
Jos Vooges | STH 9c62052663 Ship event logo badges on TV, mobile and iOS.
Bump Android TV 0.14.72, mobile 1.0.26 and iOS 0.5.36 so category fallback covers show the channel logo on event cards.
2026-09-21 02:56:52 +02:00

18 lines
920 B
Bash

#!/bin/bash
exec > /tmp/vmc-tf-upload.log 2>&1
echo "TF_UPLOAD_START $(date) user=$(whoami) gui=1 ver=0.5.36"
security list-keychains -s "$HOME/Library/Keychains/login.keychain-db" /Library/Keychains/System.keychain || true
security show-keychain-info "$HOME/Library/Keychains/login.keychain-db" 2>&1 || true
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "" "$HOME/Library/Keychains/login.keychain-db" 2>&1 || true
export KEY_ID=C4LTZP6328
export ISSUER_ID=ab4414a1-90fc-4fbf-b051-59d95c48097e
export AUTH_KEY_PATH="$HOME/AuthKey.p8"
export IOS_DIR="$HOME/Code/mediacluster/apps/ios"
cd "$IOS_DIR" || exit 1
rm -rf "$IOS_DIR/build/VMC.xcarchive" "$IOS_DIR/build/export"
bash "$IOS_DIR/scripts/upload-testflight.sh" --key-id "$KEY_ID" --issuer-id "$ISSUER_ID" --auth-key "$AUTH_KEY_PATH"
EC=$?
echo "TF_UPLOAD_EXIT:$EC"
echo "$EC" > /tmp/vmc-tf-upload.ec
date > /tmp/vmc-tf-upload.done
exit "$EC"