Overview
pub_release is a Flutter/Dart package that automates the process of releasing a Dart package to pub.dev. It streamlines publishing by running dartfmt for code formatting, incrementing the version number, creating a git tag, and pushing the updated package to pub.dev. Designed for developers who frequently publish packages, it reduces manual steps and minimizes errors during release workflows. The tool supports macOS, Windows, and Linux, making it accessible across major development environments.
Use cases
- Automating package releases
- Streamlining pub.dev publishing
- Ensuring consistent code formatting
- Managing version increments
- Reducing manual release errors
Key features
- Automated dartfmt execution
- Version bumping
- Git tagging
- Push to pub.dev
- Cross-platform support
Suitable for
- Dart package maintainers
- CI/CD pipeline integrations
- Frequent publishers
- Open-source contributors
Considerations
- Requires git setup
- Needs pub.dev credentials
- Depends on correct versioning strategy
- May need custom configuration for complex workflows