File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111# - GITHUB_PAT: GitHub Personal Access Token
1212
1313# Navigate to app build directory
14- cd ../../app
14+ cd ../../app/lam7a
1515
1616echo " Deploying builds to GitHub Releases..."
1717
@@ -37,14 +37,16 @@ gh release create "${RELEASE_TAG}" \
3737 2> /dev/null || echo " Release ${RELEASE_TAG} already exists, skipping creation"
3838
3939# Upload Android APK
40- if [ -f " build/app/outputs/flutter-apk/app-release.apk" ]; then
40+ APK_PATH=" build/app/outputs/flutter-apk/app-release.apk"
41+ if [ -f " $APK_PATH " ]; then
42+ echo " 📱 Uploading Android APK..."
4143 gh release upload " ${RELEASE_TAG} " \
42- " build/app/outputs/flutter-apk/app-release.apk " \
44+ " $APK_PATH " \
4345 --repo " ${OWNER_NAME} /${REPO_NAME} " \
4446 --clobber
4547 echo " ✓ Android APK uploaded"
4648else
47- echo " ⚠ Android APK not found"
49+ echo " ⚠ Android APK not found at $APK_PATH "
4850fi
4951
5052# --- Upload iOS IPA ---
You can’t perform that action at this time.
0 commit comments