Skip to content

Commit a5cd838

Browse files
committed
Get more information about the version problem
1 parent 5688b8f commit a5cd838

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tools/build-swiftly-release/BuildSwiftlyRelease.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,10 @@ struct BuildSwiftlyRelease: AsyncParsableCommand {
299299
FileManager.default.changeCurrentDirectoryPath(libArchivePath)
300300

301301
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+
302306
let swiftVerOutput = (try await runProgramOutput(swift, "--version")) ?? ""
303307
guard let swiftVerMatch = try swiftVerRegex.firstMatch(in: swiftVerOutput) else {
304308
throw Error(message: "Unable to detect swift version")

0 commit comments

Comments
 (0)