Skip to content

Commit 4e6a31b

Browse files
authored
Publish command updates (#7590)
1 parent 5d10858 commit 4e6a31b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ReleaseTooling/Sources/FirebaseManifest/Pod.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ public struct Pod {
4747
return isClosedSource ? "\(name).podspec.json" : "\(name).podspec"
4848
}
4949

50-
/// Closed source pods do not validate on Xcode 12 until they support the ARM simulator slice.
50+
/// The Firebase pod does not support import validation with Xcode 12 because of the deprecated
51+
/// ML pods not supporting the ARM Mac slice.
5152
public func skipImportValidation() -> String {
52-
if isClosedSource || name == "Firebase" {
53+
if name == "Firebase" {
5354
return "--skip-import-validation"
5455
} else {
5556
return ""

ReleaseTooling/Sources/FirebaseReleaser/Push.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ enum Push {
5353
case .trunk:
5454
return "pod trunk push --skip-tests --synchronous \(warningsOK) " +
5555
pod
56-
.skipImportValidation() + " ~/.cocoapods/repos/\(stagingLocation)/Specs/\(pod.name)/" +
56+
.skipImportValidation() + " ~/.cocoapods/repos/\(stagingLocation)/\(pod.name)/" +
5757
"\(manifest.versionString(pod))/\(pod.name).podspec.json"
5858
}
5959
}()

0 commit comments

Comments
 (0)