version_assist 1.1.0
version_assist: ^1.1.0 copied to clipboard
A CLI tool to bump Flutter project versions
Changelog #
All notable changes to this project will be documented in this file.
1.1.0 - 2024-02-08 #
Added #
- New
--auto-commitflag to control automatic git operations during version bumps - By default, version bumps no longer automatically create git commits or tags
- Users can opt-in to automatic git operations by using the
--auto-commitflag - When enabled, the tool will:
- Update the version in pubspec.yaml
- Stage changes with
git add - Create a commit with the message:
build(version): Bump version to {new_version} - Create a git tag with the new version
1.0.0 - 2024-02-07 #
Added #
- Updating versions without build numbers (1.0.0 -> 2.0.0)
- Keeping versions without build numbers when bumping (1.0.0 -> 1.1.0)
- Converting between formats as needed
- Maintaining existing build numbers with --no-build-number-update
- Command implementation validates flag combinations
- Documentation updated in both README.md and version_management.md with clear examples
- Added semver version bumping functionality to the CLI tool. Users can now bump major (x.0.0), minor (0.x.0), or patch (0.0.x) versions using --major, --minor, or --patch flags respectively. The functionality is fully tested and can be combined with existing date-based build numbers. Example usage: