chore: ota
This commit is contained in:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user