I'm building a Godot mobile game and I'm trying to automate the export process.
I can export the game simply enough:
/Applications/Godot.app/Contents/MacOS/Godot --export-release "MyGame-Android" /path-to/mygame-android.aab
This will use the version code that's embedded in export_presets.cfg
:
version/code=10
The Play store requires that each new uploaded binary have a new version code. I can write a script that updates this but I'm wondering how other developers are handling this. Is there a common solution?