You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beta tag heuristic should use >= when comparing platform version information (#994)
* Consider symbols to be beta if their introduced version is greater than
or equal to the current platform, if the current platform is beta.
* SemanticVersion conforms to Comparable, and start migrating away from
VersionTriplet and to SemanticVersion by changing two call sites.
* Update CLI help message for --platform option
* Remove unneeded import statement from VersionTripletTests.swift
* Remove duplicate initializer for SemanticVersion
* Update to-do comment in SemanticVersion.swift
Co-authored-by: Sofía Rodríguez <[email protected]>
* Remove unneeded binary file and whitespace change
* Remove unneeded import statement
---------
Co-authored-by: Sofía Rodríguez <[email protected]>
Copy file name to clipboardExpand all lines: Sources/SwiftDocCUtilities/ArgumentParsing/Subcommands/Convert.swift
+1
Original file line number
Diff line number
Diff line change
@@ -148,6 +148,7 @@ extension Docc {
148
148
help:ArgumentHelp("Specify information about the current release of a platform.", discussion:"""
149
149
Each platform's information is specified via separate "--platform" values using the following format: "name={platform name},version={semantic version}".
150
150
Optionally, the platform information can include a 'beta={true|false}' component. If no beta information is provided, the platform is considered not in beta.
151
+
If the platform is set to beta, any symbol introduced in a version equal to or greater than the specified semantic version will be marked as beta.
0 commit comments