mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Fix RC capitalization
This commit is contained in:
parent
c082fa279b
commit
57767f6920
1 changed files with 7 additions and 1 deletions
|
|
@ -50,7 +50,13 @@ public extension Version {
|
|||
}
|
||||
if !prereleaseIdentifiers.isEmpty {
|
||||
base += " " + prereleaseIdentifiers
|
||||
.map { $0.replacingOccurrences(of: "-", with: " ").capitalized.replacingOccurrences(of: "Gm", with: "GM") }
|
||||
.map { identifiers in
|
||||
identifiers
|
||||
.replacingOccurrences(of: "-", with: " ")
|
||||
.capitalized
|
||||
.replacingOccurrences(of: "Gm", with: "GM")
|
||||
.replacingOccurrences(of: "Rc", with: "RC")
|
||||
}
|
||||
.joined(separator: " ")
|
||||
}
|
||||
return base
|
||||
|
|
|
|||
Loading…
Reference in a new issue