upToNextMinor(from:)
A source control requirement bounded to the given version’s minor version number.
Declaration
static func upToNextMinor(from version: Version) -> Package.Dependency.RequirementParameters
- version:
The minimum version for the version range.
Return Value
A source control requirement instance.
Discussion
Returns a requirement for a version range, starting at the given minimum version and going up to but not including the next minor version.