chore: build
This commit is contained in:
@@ -111,6 +111,7 @@ jobs:
|
|||||||
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion' app.json)
|
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion' app.json)
|
||||||
COMMIT_MESSAGE=$(git log -1 --pretty=%s ${{ github.sha }})
|
COMMIT_MESSAGE=$(git log -1 --pretty=%s ${{ github.sha }})
|
||||||
npx expo export --platform android --output-dir dist
|
npx expo export --platform android --output-dir dist
|
||||||
|
npx expo config --json > dist/expoconfig.json
|
||||||
jq '.expo' app.json > dist/expoconfig.json
|
jq '.expo' app.json > dist/expoconfig.json
|
||||||
cd dist && zip -r ../bundle.zip . && cd ..
|
cd dist && zip -r ../bundle.zip . && cd ..
|
||||||
curl -X POST "${{ secrets.XAVIA_API_URL_ADMIN }}/api/upload" \
|
curl -X POST "${{ secrets.XAVIA_API_URL_ADMIN }}/api/upload" \
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ jobs:
|
|||||||
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion' app.json)
|
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion' app.json)
|
||||||
COMMIT_MESSAGE=$(git log -1 --pretty=%s ${{ github.sha }})
|
COMMIT_MESSAGE=$(git log -1 --pretty=%s ${{ github.sha }})
|
||||||
npx expo export --platform android --output-dir dist
|
npx expo export --platform android --output-dir dist
|
||||||
|
npx expo config --json > dist/expoconfig.json
|
||||||
jq '.expo' app.json > dist/expoconfig.json
|
jq '.expo' app.json > dist/expoconfig.json
|
||||||
cd dist && zip -r ../bundle.zip . && cd ..
|
cd dist && zip -r ../bundle.zip . && cd ..
|
||||||
curl -X POST "${{ secrets.XAVIA_API_URL_CLIENT }}/api/upload" \
|
curl -X POST "${{ secrets.XAVIA_API_URL_CLIENT }}/api/upload" \
|
||||||
|
|||||||
Reference in New Issue
Block a user