Skip to content

Commit

Permalink
Filter out pods that aren't releasing in parsePodNames
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Nov 14, 2024
1 parent 252310e commit 0d34710
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ReleaseTooling/Sources/ManifestParser/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0d34710

Please sign in to comment.