Skip to content

Commit 43bad03

Browse files
authored
Merge branch 'main' into ah/combine-core-dep
2 parents d1df0f5 + d3f686c commit 43bad03

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

FirebaseCombineSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'FirebaseCombineSwift'
3-
s.version = '11.0.0'
3+
s.version = '11.6.0'
44
s.summary = 'Swift extensions with Combine support for Firebase'
55

66
s.description = <<-DESC

ReleaseTooling/Sources/FirebaseManifest/FirebaseManifest.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public let shared = Manifest(
5555
Pod("FirebaseMLModelDownloader", isBeta: true, zip: true),
5656
Pod("FirebaseVertexAI", zip: true),
5757
Pod("Firebase", allowWarnings: true, platforms: ["ios", "tvos", "macos"], zip: true),
58+
Pod("FirebaseCombineSwift", releasing: false, zip: false),
5859
]
5960
)
6061

@@ -64,6 +65,7 @@ public struct Manifest {
6465
public let pods: [Pod]
6566

6667
public func versionString(_ pod: Pod) -> String {
68+
let version = pod.podVersion ?? self.version
6769
return pod.isBeta ? version + "-beta" : version
6870
}
6971
}

ReleaseTooling/Sources/FirebaseManifest/Pod.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public struct Pod {
2828
public let allowWarnings: Bool
2929
/// Set of platforms (e.g. "ios", "macos", "tvos", or "watchos") to build this pod for.
3030
public let platforms: Set<String>
31+
/// Allows overriding the ``Manifest/version`` for this pod; defaults to `nil`.
32+
public let podVersion: String?
3133
/// Whether or not the pod is planned for publicly releasing (as some pods are for
3234
/// internal/testing use).
3335
public let releasing: Bool
@@ -47,6 +49,7 @@ public struct Pod {
4749
self.isBeta = isBeta
4850
self.allowWarnings = allowWarnings
4951
self.platforms = platforms
52+
self.podVersion = podVersion
5053
self.releasing = releasing
5154
self.zip = zip
5255
}

ReleaseTooling/Sources/ZipBuilder/ZipBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ struct ZipBuilder {
361361
/// - Throws: One of many errors that could have happened during the build phase.
362362
func buildAndAssembleFirebaseRelease(templateDir: URL) throws -> ReleaseArtifacts {
363363
let manifest = FirebaseManifest.shared
364-
var podsToInstall = manifest.pods.map {
364+
var podsToInstall = manifest.pods.filter { $0.releasing }.map {
365365
CocoaPodUtils.VersionedPod(name: $0.name,
366366
version: manifest.versionString($0),
367367
platforms: $0.platforms)

0 commit comments

Comments
 (0)