A package to easily increment version numbers in pubspec.yaml files.
A command-line tool for easily incrementing pubspec.yaml version numbers.
pubversion is not meant to be used as a dependency. Instead, it should be
$ pub global activate pubversion # or $ flutter pub global activate pubversion
Learn more about activating and using packages here.
pubversion provides three commands:
pubversion major #
$ pubversion major test_package upgraded from 1.2.1 to 2.0.0
pubversion minor #
$ pubversion minor test_package upgraded from 1.0.1 to 1.1.0
pubversion patch #
$ pubversion patch test_package upgraded from 1.0.0 to 1.0.1