VersionManipulation extension

on
  • Version

Properties

nextBuild → Version
Returns a new instance of Version with the next build:
no setter
nextPreRelease → Version
Returns a new instance of Version with the next pre-release:
no setter
release → Version
Promotes a pre-release to a release by clearing the pre-release and the build
no setter

Methods

change({int? major, int? minor, int? patch, List? build, List? preRelease}) → Version
Changes the given parts, returning a new instance on Version