flutter_post_build 1.2.0
flutter_post_build: ^1.2.0 copied to clipboard
A command-line tool to rename and organize Flutter build artifacts after the build process is complete.
Changelog #
1.2.0 #
-
FEAT: Added support for Android App Bundles (
.aab) alongside APK processing. -
FEAT: Introduced
append_versionoption to include version (frompubspec.yaml) in output filenames. -
FEAT: Implemented intelligent architecture detection and renaming:
armeabi-v7a→v7aarm64-v8a→a64x86_64→x86- universal APK →
uni - app bundle →
bundle
-
FEAT: Added
discardconfiguration to selectively skip specific APK variants during processing. -
FEAT: Added
clean_build_folderoption to remove thebuild/directory after successful processing. -
IMPROVE: Separated APK and AAB pipelines for better alignment with Flutter build commands.
-
IMPROVE: Added safe cross-device file operations (fallback copy + delete when rename fails).
-
IMPROVE: Added overwrite protection to prevent accidental file replacement.
-
IMPROVE: Added validation warning when
append_versionis enabled but version is missing. -
IMPROVE: Enhanced logging clarity for processing, skipping, and cleanup actions.
1.1.1 #
- Updated README
1.1.0 #
- FEAT: Added
move_filesoption. When set tofalse, files are copied to thefinal_directoryinstead of being moved, leaving the original build artifacts intact. - DOCS: Updated README to include documentation for the new
move_filesflag.
1.0.0 #
- Initial Release
- Core functionality to rename and move build artifacts based on
pubspec.yamlconfiguration. - Supports
package_nameandfinal_directoryoptions.