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
- Housekeeping for Dart SDK 2.7.0
- Initial release with all features working.
- Spelling corrections.
- Set up Travis CI.
- Initial working version.
Use this package as an executable
1. Install it
You can install the package from the command line:
$ pub global activate pubversion
2. Use it
The package has the following executables:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Jul 7, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.8.4
- pana: 0.13.13
Cannot assign flutter SDK tag because it is binary only
Cannot assign flutter platform tags, it is a binary only package
Maintenance issues and suggestions
dartdoc successfully runs on your package's source files. (-10 points)
exitCode: 255 stdout: Documenting pubversion... Initialized dartdoc with 37 libraries in 34.4 seconds Validating docs... no issues found Documented 0 public libraries in 7.0 seconds stderr: Unhandled exception: dartdoc could not find any libraries to document #0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:218:9)
|Dart SDK||>=2.0.0 <3.0.0|