v0.2.0
version_manipulation
Extension on Dart `pub_semver` library. Provides `nextBuild`, `nextPreRelease` and `change`.
4Likes 38.5K30-day downloads160Pub points
AndroidiOSWebmacOSWindowsLinux
Extension on pub_semver
^2.0.0^3.0.0^1.16.0^1.0.1^0.0.2English project snapshot. Visit GitHub for the latest content.
print(Version.parse('0.1.3+foo.1').change(major: 2, build: ['moo'])); // 2.1.3+moo
print(Version.parse('1.2.3').nextBuild); // 1.2.3+1
print(Version.parse('1.2.3+foo42').nextBuild); // 1.2.3+foo42.1
print(Version.parse('1.2.3+foo.1.2.3.bar').nextBuild); // 1.2.3+foo.2.0.0.bar