pubspec_version 0.4.0 pubspec_version: ^0.4.0 copied to clipboard
A CLI tool to set/bump the package version in pubspec.yaml. The "npm version" for Dart.
Examples
Before | Command | After |
---|---|---|
1.2.3 | pubver bump breaking |
2.0.0 |
0.2.1 | pubver bump breaking |
0.3.0 |
0.2.1 | pubver bump major |
1.0.0 |
0.2.1 | pubver bump minor |
0.3.0 |
0.2.1 | pubver bump patch |
0.2.1 |
0.2.1 | pubver set 5.4.3-dev |
5.4.3-dev |