use swift 6.2 for dev tools (#5720)

This commit is contained in:
Mauro
2026-06-09 10:46:29 +02:00
committed by GitHub
parent b3db14cd2e
commit ad6ae390d1
8 changed files with 37 additions and 15 deletions
@@ -14,7 +14,7 @@ struct BumpCalendarVersion: ParsableCommand {
/// Updates the project YAML with the new version.
private func updateProjectYAML() throws {
let yamlURL = URL.projectDirectory.appendingPathComponent("project.yml")
let yamlString = try String(contentsOf: yamlURL)
let yamlString = try String(contentsOf: yamlURL, encoding: .utf8)
// Use regex instead of Yams to preserve any whitespace, comments etc in the file.
let marketingVersionRegex = /MARKETING_VERSION:\s*([^\s]+)/