flutter_post_build 1.3.0 copy "flutter_post_build: ^1.3.0" to clipboard
flutter_post_build: ^1.3.0 copied to clipboard

A command-line tool to rename and organize Flutter build artifacts after the build process is complete.

Changelog #

1.3.0 #

  • FIX: APK build directory missing no longer terminates the script — execution continues to AAB scanning, enabling correct behavior for flutter build appbundle-only workflows.
  • FIX: Both APK and AAB scan sections now always execute and always print their headers, ensuring predictable output regardless of which artifacts are present.
  • FIX: Escaped newline \\n in final success message corrected to \n — previously printed as a literal backslash-n instead of a blank line.
  • IMPROVE: clean_build_folder safety guard now uses an absolute path comparison instead of endsWith('build'), preventing accidental deletion of unintended directories.
  • IMPROVE: Cross-device fallback in safeMoveOrCopy now logs the caught error instead of silently discarding it, aiding diagnosis of I/O failures.

1.2.0 #

  • FEAT: Added support for Android App Bundles (.aab) alongside APK processing.
  • FEAT: Introduced append_version option to include version (from pubspec.yaml) in output filenames.
  • FEAT: Implemented intelligent architecture detection and renaming:
    • armeabi-v7av7a
    • arm64-v8aa64
    • x86_64x86
    • universal APK → uni
    • app bundle → bun
  • FEAT: Added discard configuration to selectively skip specific APK variants during processing.
  • FEAT: Added clean_build_folder option to remove the build/ 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_version is 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_files option. When set to false, files are copied to the final_directory instead of being moved, leaving the original build artifacts intact.
  • DOCS: Updated README to include documentation for the new move_files flag.

1.0.0 #

  • Initial Release
  • Core functionality to rename and move build artifacts based on pubspec.yaml configuration.
  • Supports package_name and final_directory options.
2
likes
160
points
138
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A command-line tool to rename and organize Flutter build artifacts after the build process is complete.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

path, yaml

More

Packages that depend on flutter_post_build