publish
1.3.6, released 10 months ago by mubashar.dev
CLI tool that automates Flutter app configuration, asset generation and release workflows.
What it does
Publish provides an interactive wizard to set up app name, package ID, icons and splash screens. It manages multiple environment profiles, preserves version and assets per profile, and automates version bumps, changelog updates and signing.
AI-written summary of version 1.3.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to configure and maintain multiple Flutter build flavors
- You want to generate icons and splash screens from a single source image
- You want to automate versioning, changelog and signing for releases
Skip it when
- Your project is very simple with a single configuration
- You already have a custom CI/CD pipeline handling these tasks
Strengths
- Multi‑config profile management with asset and version preservation
- Interactive setup and doctor commands to fix common issues
- Automates signing, version bumps and changelog updates
Weaknesses
- Limited to Flutter projects; not a general purpose build tool
- CLI only, no programmatic API
- May not cover all edge‑case CI/CD requirements
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 5
Activate globally with `flutter pub global activate publish`; then run `publish` commands from any terminal.
```bash
# Install globally
flutter pub global activate publish
# Run the interactive setup wizard
publish init
# Generate icons from a single image
publish icons
```Alternatives
Packages that do the same job and could replace publish.
- flutter_launcher_icons
Generates app icons for Android and iOS without the broader configuration and release automation features
65Compare
Works with
Packages commonly used together with publish: ones it builds on, ones built on it, and its own family.
- yamlpublish depends on itA Dart library for parsing YAML documents into Dart data structures.
- xmlpublish depends on itFull-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.
- argspublish depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- imagepublish depends on itPure Dart library to load, manipulate, encode, and decode various image formats.