upToNextMajor(from:)

    Returns a requirement for a version range, starting at the given minimum version and going up to the next major version. This is the recommended version requirement.

    PackageRequirement.swift:220
    static func upToNextMajor(from version: Version) -> Range<Bound> where Bound == Version

    Parameters

    version

    The minimum version for the version range.

    Other members in extension

    Type members