pub_version_plus 1.0.0 copy "pub_version_plus: ^1.0.0" to clipboard
pub_version_plus: ^1.0.0 copied to clipboard

outdated

Easily increment version numbers in pubspec.yaml files with a single command.

Pub Package Dart Version GitHub issues

A command-line tool for easily incrementing pubspec.yaml version numbers.

Installation #

$ pub global activate pubversion
# or
$ flutter pub global activate pubversion

Learn more about activating and using packages here.

Usage #

pubversion provides three commands:

  • major
  • minor
  • patch
  • build

pubversion major #

$ pubversion major
test_package upgraded from 1.2.1 to 2.0.0

// with build number
test_package upgraded from 1.2.1+2 to 2.0.0+0

pubversion minor #

$ pubversion minor
test_package upgraded from 1.0.1 to 1.1.0

// with build number
test_package upgraded from 1.2.1+3 to 1.1.0+0

pubversion patch #

$ pubversion patch
test_package upgraded from 1.0.0 to 1.0.1

// with build number
test_package upgraded from 1.0.0+4 to 1.0.1+0

pubversion build #

$ pubversion build
test_package upgraded from 1.0.0+4 to 1.0.0+5
13
likes
0
pub points
65%
popularity

Publisher

verified publishermrgnhnt.com

Easily increment version numbers in pubspec.yaml files with a single command.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, io, meta, path, pub_semver, pubspec_parse

More

Packages that depend on pub_version_plus