dart_versioner 1.1.1 copy "dart_versioner: ^1.1.1" to clipboard
dart_versioner: ^1.1.1 copied to clipboard

A utility to auto-increment a pubspec.yaml, similar to "npm version"

Dart_Versioner #

A utility to auto-increment a pubspec.yaml, similar to npm version.

Installation #

dart pub global activate dart_versioner

Usage #

dart_versioner [type]

Where [type] is one of major, minor, or patch.

  • major will increment the major version number.
  • minor will increment the minor version number.
  • patch will increment the patch version number.

The program will automatically increment the pubspec.yaml version number, and also automatically commit the change to git with the new version number as the commit message.

TODO:

  • ✅ Make sure the git working directory is clean, else bail
  • ✅ Make the output a little nicer
  • ❌ Add an option for a custom git commit message
  • ❌ Handle custom version number
0
likes
130
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

A utility to auto-increment a pubspec.yaml, similar to "npm version"

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

pub_semver, pubspec_parse

More

Packages that depend on dart_versioner