Skip to content

Commit 0b2ea11

Browse files
committed
whitelist the tag name swift-5.9-RELEASE
1 parent 77d9c43 commit 0b2ea11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/UnidocDB/Packages/PackageDatabase.Editions.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,15 @@ extension PackageDatabase.Editions
274274
extension PackageDatabase.Editions
275275
{
276276
/// Removes all editions that lack a commit hash, unless it has the exact name
277-
/// `swift-5.8.1-RELEASE`.
277+
/// `swift-5.8.1-RELEASE` or `swift-5.9-RELEASE`.
278278
public
279279
func _lint(with session:Mongo.Session) async throws -> Int
280280
{
281281
try await self.deleteAll(with: session)
282282
{
283283
$0[PackageEdition[.sha1]] = .init { $0[.exists] = false }
284284
$0[PackageEdition[.name]] = .init { $0[.ne] = "swift-5.8.1-RELEASE" }
285+
$0[PackageEdition[.name]] = .init { $0[.ne] = "swift-5.9-RELEASE" }
285286
}
286287
}
287288
}

0 commit comments

Comments
 (0)