Skip to content

Commit 0ed6dc4

Browse files
committed
A handful of Swift repos are missing the latest trunk tags, so use the last one they have on the CI
1 parent 01d2197 commit 0ed6dc4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

get-packages-and-swift-source.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,11 @@ for repo in swiftRepos {
274274
print("Checking for \(repo) source")
275275
if !fmd.fileExists(atPath: cwd.appendingPathComponent(renameRepos[repo] ?? repo)) {
276276
print("Downloading and extracting \(repo) source")
277-
let tag = repoTags[repo] ?? SWIFT_TAG
277+
var tag = repoTags[repo] ?? SWIFT_TAG
278+
let noTagRepos = ["swift-experimental-string-processing", "swift-syntax", "swift-driver", "swift-tools-support-core", "indexstore-db", "swift-lmdb", "sourcekit-lsp"]
279+
if noTagRepos.contains(repo) && swiftVersion == "" {
280+
tag = "swift-DEVELOPMENT-SNAPSHOT-2025-08-04-a"
281+
}
278282
var repoOrg = "swiftlang"
279283
if repo == "Yams" {
280284
repoOrg = "jpsim"

0 commit comments

Comments
 (0)