version_manipulation 0.1.0 copy "version_manipulation: ^0.1.0" to clipboard
version_manipulation: ^0.1.0 copied to clipboard

outdated

Extension on Dart `pub_semver` library. Provides `nextBuild`, `nextPreRelease` and `change`.

Extension on pub_semver #

Setting a version part #

print(Version.parse('0.1.3+foo.1').change(major: 2, build: ['moo'])); // 2.1.3+moo

Bumping the build part #

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
2
likes
0
pub points
31%
popularity

Publisher

verified publisherkarapetov.com

Extension on Dart `pub_semver` library. Provides `nextBuild`, `nextPreRelease` and `change`.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

pub_semver

More

Packages that depend on version_manipulation