We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5688b8f commit a5cd838Copy full SHA for a5cd838
Tools/build-swiftly-release/BuildSwiftlyRelease.swift
@@ -299,6 +299,10 @@ struct BuildSwiftlyRelease: AsyncParsableCommand {
299
FileManager.default.changeCurrentDirectoryPath(libArchivePath)
300
301
let swiftVerRegex: Regex<(Substring, Substring)> = try! Regex("Swift version (\\d+\\.\\d+\\.\\d+) ")
302
+
303
+ // FIXME remove this once the problem is determined
304
+ try runProgram(swift, "--version")
305
306
let swiftVerOutput = (try await runProgramOutput(swift, "--version")) ?? ""
307
guard let swiftVerMatch = try swiftVerRegex.firstMatch(in: swiftVerOutput) else {
308
throw Error(message: "Unable to detect swift version")
0 commit comments