From 0d3471008dca962e023ead5ed32b6530fbc91ef9 Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Thu, 14 Nov 2024 11:01:48 -0500 Subject: [PATCH] Filter out pods that aren't releasing in `parsePodNames` --- ReleaseTooling/Sources/ManifestParser/main.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ReleaseTooling/Sources/ManifestParser/main.swift b/ReleaseTooling/Sources/ManifestParser/main.swift index 900488afdfb..88cd76159f0 100644 --- a/ReleaseTooling/Sources/ManifestParser/main.swift +++ b/ReleaseTooling/Sources/ManifestParser/main.swift @@ -42,15 +42,12 @@ struct ManifestParser: ParsableCommand { }) var outputFilePath: URL - @Option(parsing: .upToNextOption, help: "Podspec files that will not be included.") - var excludedSpecs: [String] - @Flag(help: "Parsing mode for manifest") var mode: ParsingMode func parsePodNames(_ manifest: Manifest) throws { var output: [String] = [] - for pod in manifest.pods { + for pod in manifest.pods.filter({ $0.releasing }) { output.append(pod.name) } do {