Overview
A Dart package that extends the `pub_semver` library with convenient methods for version management. It provides `nextBuild`, `nextPreRelease`, and `change` functions to easily increment build numbers, generate next pre-release versions, or modify version components programmatically. Ideal for automating versioning in CI/CD pipelines or build scripts. The package is lightweight and integrates seamlessly with Flutter projects across all major platforms.
Use cases
- Automating version bumps in CI/CD workflows
- Generating pre-release versions during development
- Updating build numbers in app builds
- Managing version changes in release scripts
- Simplifying version logic in build tools
Key features
- Extends pub_semver with useful version operations
- Provides nextBuild for incrementing build numbers
- Supports nextPreRelease for pre-release versioning
- Offers change method to modify specific version parts
- Lightweight and easy to integrate
Suitable for
- Developers managing app versioning
- CI/CD pipeline automation
- Flutter projects requiring dynamic version handling
- Teams using semantic versioning practices
- Build script authors
Considerations
- Requires pub_semver as a dependency
- Limited to version string manipulation
- Not intended for UI or runtime version display
- Best used in build or script contexts
- Does not handle version file persistence