Build & release

Release

Build your app and register the version you ship to the stores.

Commands

AndroidiOSAll platforms
otadart release androidotadart release iosotadart release all
macOSWindowsLinux
otadart release macosotadart release windowsotadart release linux

Pick a few: otadart release android ios · Leave some out: otadart release all --skip linux · See Choosing platforms.

The version comes from pubspec.yaml. “all” means every platform folder in your project (android, ios, macos, windows, linux).

What it does

  1. Runs flutter build (an app bundle for Android, an .ipa for iOS).
  2. Saves a fingerprint of your code and native plugins.
  3. Registers the release on otadart.dev.

Then upload the store build to Google Play or the App Store as you normally would.

Useful options

OptionExample
Flavorotadart release android --flavor prod
Skip the build (already built)otadart release ios --no-build
Extra flutter build flagsotadart release ios -- --export-options-plist=ExportOptions.plist
Check without uploadingotadart release android --dry-run

New version, new release

Changed native code, plugins, assets or the Flutter version? Bump the version in pubspec.yaml and run release again. Patches only change Dart code.

Related: otadart.yaml · Patch · Tracks & rollouts · Rollback · Flavors & versions