chore: ota

This commit is contained in:
2026-05-15 12:15:42 +02:00
parent 3eba3e3a15
commit 928a5f5f57
9 changed files with 152 additions and 12 deletions
@@ -172,8 +172,9 @@ jobs:
env:
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
EXPO_PUBLIC_API_URL: ${{ steps.config.outputs.api_url }}
EXPO_PUBLIC_UPDATE_URL: https://ota.uber-stup.club
run: |
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion // .expo.version' app.json)
RUNTIME_VERSION=$(jq -r '.expo.version' app.json)
npx expo export --platform android --output-dir dist
cd dist && zip -r ../bundle.zip . && cd ..
curl -X POST "https://ota.uber-stup.club/api/upload" \