Skip to content

Commit b5f63e0

Browse files
Copilotkiyarose
andauthored
Package iOS CI build as Flean.ipa instead of Flean-iOS.app.zip
Agent-Logs-Url: https://github.com/SillyLittleTech/Flean/sessions/abaddb4f-78c1-4c80-bc9f-a97d9589c5bf Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
1 parent 65d9c8d commit b5f63e0

2 files changed

Lines changed: 14 additions & 16 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,15 @@ jobs:
7979
CODE_SIGNING_REQUIRED=NO \
8080
CODE_SIGN_ENTITLEMENTS=""
8181
82-
# Find and zip the .app
82+
# Package the .app as a proper IPA (Payload/Flean.app zipped)
8383
APP_PATH=$(find build -name "Flean.app" -type d | head -1)
8484
if [ -z "$APP_PATH" ]; then
8585
echo "❌ Flean.app not found"
8686
exit 1
8787
fi
88-
OUT_ZIP="$(pwd)/build/Flean-iOS.app.zip"
89-
APP_DIR="$(dirname "$APP_PATH")"
90-
APP_NAME="$(basename "$APP_PATH")"
91-
( cd "$APP_DIR" && zip -r "$OUT_ZIP" "$APP_NAME" )
88+
mkdir -p build/ipa/Payload
89+
cp -r "$APP_PATH" build/ipa/Payload/
90+
( cd build/ipa && zip -r ../Flean.ipa Payload )
9291
echo "✅ iOS build succeeded"
9392
9493
# macOS Build
@@ -154,9 +153,9 @@ jobs:
154153
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
155154
with:
156155
upload_url: ${{ steps.create_release.outputs.upload_url }}
157-
asset_path: ./ios/build/Flean-iOS.app.zip
158-
asset_name: Flean-iOS.app.zip
159-
asset_content_type: application/zip
156+
asset_path: ./ios/build/Flean.ipa
157+
asset_name: Flean.ipa
158+
asset_content_type: application/octet-stream
160159

161160
# Upload macOS App
162161
- name: Upload macOS App

.github/workflows/prerelease.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,15 @@ jobs:
4545
CODE_SIGNING_REQUIRED=NO \
4646
CODE_SIGN_ENTITLEMENTS=""
4747
48-
# Find and zip the .app
48+
# Package the .app as a proper IPA (Payload/Flean.app zipped)
4949
APP_PATH=$(find build -name "Flean.app" -type d | head -1)
5050
if [ -z "$APP_PATH" ]; then
5151
echo "❌ Flean.app not found"
5252
exit 1
5353
fi
54-
OUT_ZIP="$(pwd)/build/Flean-iOS.app.zip"
55-
APP_DIR="$(dirname "$APP_PATH")"
56-
APP_NAME="$(basename "$APP_PATH")"
57-
( cd "$APP_DIR" && zip -r "$OUT_ZIP" "$APP_NAME" )
54+
mkdir -p build/ipa/Payload
55+
cp -r "$APP_PATH" build/ipa/Payload/
56+
( cd build/ipa && zip -r ../Flean.ipa Payload )
5857
echo "✅ iOS build succeeded"
5958
6059
- name: Build macOS
@@ -108,9 +107,9 @@ jobs:
108107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109108
with:
110109
upload_url: ${{ steps.create_prerelease.outputs.upload_url }}
111-
asset_path: ./ios/build/Flean-iOS.app.zip
112-
asset_name: Flean-iOS.app.zip
113-
asset_content_type: application/zip
110+
asset_path: ./ios/build/Flean.ipa
111+
asset_name: Flean.ipa
112+
asset_content_type: application/octet-stream
114113

115114
- name: Upload macOS App
116115
uses: actions/upload-release-asset@v1

0 commit comments

Comments
 (0)