Build & release
Release
Build your app and register the version you ship to the stores.
Commands
| Android | iOS | All platforms |
|---|---|---|
| otadart release android | otadart release ios | otadart release all |
| macOS | Windows | Linux |
|---|---|---|
| otadart release macos | otadart release windows | otadart 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
- Runs flutter build (an app bundle for Android, an .ipa for iOS).
- Saves a fingerprint of your code and native plugins.
- Registers the release on otadart.dev.
Then upload the store build to Google Play or the App Store as you normally would.
Useful options
| Option | Example |
|---|---|
| Flavor | otadart release android --flavor prod |
| Skip the build (already built) | otadart release ios --no-build |
| Extra flutter build flags | otadart release ios -- --export-options-plist=ExportOptions.plist |
| Check without uploading | otadart 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.