Skip to content

Commit 0d34710

Browse files
committed
Filter out pods that aren't releasing in parsePodNames
1 parent 252310e commit 0d34710

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ReleaseTooling/Sources/ManifestParser/main.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,12 @@ struct ManifestParser: ParsableCommand {
4242
})
4343
var outputFilePath: URL
4444

45-
@Option(parsing: .upToNextOption, help: "Podspec files that will not be included.")
46-
var excludedSpecs: [String]
47-
4845
@Flag(help: "Parsing mode for manifest")
4946
var mode: ParsingMode
5047

5148
func parsePodNames(_ manifest: Manifest) throws {
5249
var output: [String] = []
53-
for pod in manifest.pods {
50+
for pod in manifest.pods.filter({ $0.releasing }) {
5451
output.append(pod.name)
5552
}
5653
do {

0 commit comments

Comments
 (0)