Skip to content

Commit

Permalink
Add build target to produce aab files
Browse files Browse the repository at this point in the history
Those are now required by Google Play because the game has an Android TV
launcher.
  • Loading branch information
agateau committed Aug 29, 2023
1 parent 6058700 commit 999bf82
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,14 @@ apk-archives:
mv android/build/outputs/apk/$$store/release/android-$$store-release.apk $(ARCHIVE_DIR)/$(EXECUTABLE)-$$store-$(VERSION).apk ; \
done

aab-archives:
@echo Creating aab
@$(GRADLEW) bundleGPlayRelease
@echo Moving aab file
mv android/build/outputs/bundle/gplayRelease/android-gplay-release.aab $(ARCHIVE_DIR)/$(ANDROID_GPLAY_RUN_DIST_NAME).aab

dist: assets packer check build desktop-archives apk-archives

dist: assets packer check build desktop-archives apk-archives aab-archives

desktop-dist: assets packer check build desktop-archives

Expand Down Expand Up @@ -180,7 +186,7 @@ tagpush: tag

# Uploading
fastlane-beta:
fastlane supply --track beta --apk $(ARCHIVE_DIR)/$(ANDROID_GPLAY_RUN_DIST_NAME).apk
fastlane supply --track beta --aab $(ARCHIVE_DIR)/$(ANDROID_GPLAY_RUN_DIST_NAME).aab

upload:
ci/upload-build pixelwheels \
Expand Down

0 comments on commit 999bf82

Please sign in to comment.