The playstore target publishes your package artifacts to the Google Play.
requires some environment variables set up to run correctly.
# Get your service account credentials https://cloud.google.com/iam/docs/keys-create-deleteexport PLAYSTORE_CREDENTIALS="your service account credentials file path"
Run:
flutter_distributor publish \ --path dist/1.0.0+1/hello_world-1.0.0+1-android.aab \ --targets playstore \ --playstore-package-name 'org.leanflutter.examples.hello_world' / --playstore-track alpha
distribute_options.yaml
output: dist/releases: - name: dev jobs: - name: build-aab package: platform: android target: aab build_args: target-platform: android-arm # Publish to playstore publish: target: playstore args: package-name: org.leanflutter.examples.hello_world track: alpha
flutter_distributor release --name dev