flavorpilot 0.6.0
flavorpilot: ^0.6.0 copied to clipboard
A CLI tool that sets up and manages Flutter flavors in one place. Run, build, and release any flavor with a single short command.
0.6.0 #
removenow deletes everything for the flavor, includinglib/main_<flavor>.dartand its.envfile, even if they were edited. Its question warns about this and lists every file first. Only a signing key is kept.
0.5.1 #
- Fix: running a command again no longer changes
ios/Runner.xcodeproj. The Xcode objects flavorpilot adds now get the same ids every time, so Git only shows iOS changes when something really changed. The first run after updating changes the ids one last time. - Commands now list only the files they actually changed, and say
"Everything was already up to date." when nothing changed. For example,
signingno longer lists iOS files.
0.5.0 #
- New
removecommand removes a flavor and everything flavorpilot created for it (Android and iOS setup, scheme, icons, IDE run configurations). It asks for confirmation first (--yesskips it) and keepslib/main_<flavor>.dartand.envfiles that hold values. - New
signingcommand sets up the Android signing key for release builds: one key for every flavor by default, or one per flavor (flavorpilot signing prod). It creates the key withkeytoolor uses an existing keystore (--keystore), keeps the key files out of Git, and never replaces a key.releasestops if the key files are missing.
0.4.0 #
buildandreleaseaccept--split-per-abi(shortcuts--splitand-s) to make one APK per CPU architecture.releasecopies every split APK todist/with its architecture in the name..envfiles per flavor:initasks whether to create them, and the newdotenvcommand adds them to an existing setup. Each flavor's file is added to.gitignoreand loaded automatically byrun,build,releaseand the IDE run configurations.addcreates one for the new flavor.- Fix:
releasenow undoes the version change whenever the build doesn't finish, including when Flutter can't start or Ctrl+C is pressed. - Fix: a missing
fluttershows a clear message instead of a stack trace.
0.3.0 #
initaddsbase_urlandenable_logswith example values to every flavor, soAppFlavor.current.baseUrlworks right away.- New
envcommand adds the same settings to an existing setup, without changing values already there. init,env,doctorandreleasewarn about example values still in use.
0.2.0 #
envinflavorpilot.yaml: per-flavor settings likebase_url, available in the app asAppFlavor.current.baseUrl.iconinflavorpilot.yaml: a separate app icon per flavor on Android and iOS.addasks for the value of each env key.init --forcewarns that it replaces env values and icons.- Clearer
initquestion about main files. Answeringynow means one main file per flavor.
0.1.0 #
init: set up flavors for Android, iOS, Dart and IDEs.add,syncanddoctorto manage flavors after setup.run,buildandreleaseshortcuts for any flavor or alias.- All file changes are applied together; nothing is written if a step fails.