Skip to content

Commit 0727fca

Browse files
committed
fix: improve Play Store deployment script to dynamically locate AAB file
1 parent eb65a39 commit 0727fca

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,14 @@ jobs:
440440
PLAY_STORE_TRACK: ${{ github.event.inputs.playstore_track || 'internal' }}
441441
run: |
442442
echo "📤 Uploading to Play Store track: $PLAY_STORE_TRACK"
443+
echo "📂 Checking AAB file..."
444+
ls -lah app/build/outputs/bundle/release/
445+
AAB_FILE=$(ls app/build/outputs/bundle/release/*.aab | head -n 1)
446+
echo "✅ Found AAB: $AAB_FILE"
443447
bundle exec fastlane supply \
444448
--track $PLAY_STORE_TRACK \
445-
--aab android/app/build/outputs/bundle/release/cbv-vpn-v${{ needs.prepare.outputs.version }}.aab \
446-
--json_key android/google_play_key.json \
449+
--aab $AAB_FILE \
450+
--json_key google_play_key.json \
447451
--package_name com.cbv.vpn \
448452
--skip_upload_metadata \
449453
--skip_upload_images \

0 commit comments

Comments
 (0)