Skip to content

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

License

Notifications You must be signed in to change notification settings

mayorbyrne/dart-versioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages