Skip to content

Merge Firebase 5.4.1 to master #1567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ target 'Core_Example_iOS' do
# The next line is the forcing function for the Firebase pod. The Firebase
# version's subspecs should depend on the component versions in their
# corresponding podspec's.
pod 'Firebase/CoreOnly', '5.4.0'
pod 'Firebase/CoreOnly', '5.4.1'

target 'Core_Tests_iOS' do
inherit! :search_paths
Expand Down
2 changes: 1 addition & 1 deletion Firebase/Core/FIROptions.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
NSString *const kFIRLibraryVersionID =
@"5" // Major version (one or more digits)
@"00" // Minor version (exactly 2 digits)
@"05" // Build number (exactly 2 digits)
@"06" // Build number (exactly 2 digits)
@"000"; // Fixed "000"
// Plist file name.
NSString *const kServiceInfoFileName = @"GoogleService-Info";
Expand Down
4 changes: 2 additions & 2 deletions FirebaseCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FirebaseCore'
s.version = '5.0.5'
s.version = '5.0.6'
s.summary = 'Firebase Core for iOS (plus community support for macOS and tvOS)'

s.description = <<-DESC
Expand Down Expand Up @@ -36,6 +36,6 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
s.pod_target_xcconfig = {
'OTHER_CFLAGS' => '-fno-autolink',
'GCC_PREPROCESSOR_DEFINITIONS' =>
'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=5.4.0'
'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=5.4.1'
}
end
2 changes: 1 addition & 1 deletion FirebaseFirestore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FirebaseFirestore'
s.version = '0.12.5'
s.version = '0.12.6'
s.summary = 'Google Cloud Firestore for iOS'

s.description = <<-DESC
Expand Down
6 changes: 6 additions & 0 deletions Firestore/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
(thousands of documents) collection would take a long time in offline mode
(#1477).

# v0.12.6
- [fixed] Fixed an issue where queries returned fewer results than they should,
caused by documents that were cached as deleted when they should not have
been (#1548). Some cache data is cleared and so clients may use extra
bandwidth the first time they launch with this version of the SDK.

# v0.12.5
- [changed] Internal improvements.

Expand Down
2 changes: 1 addition & 1 deletion Firestore/Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ target 'Firestore_Example_iOS' do
# The next line is the forcing function for the Firebase pod. The Firebase
# version's subspecs should depend on the component versions in their
# corresponding podspec's.
pod 'Firebase/CoreOnly', '5.4.0'
pod 'Firebase/CoreOnly', '5.4.1'

pod 'FirebaseAuth', :path => '../../'
pod 'FirebaseAuthInterop', :path => '../../'
Expand Down
12 changes: 9 additions & 3 deletions Releases/update-versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ def SetupArguments():
action='store_true',
help='Update the tags only')

parser.add_argument(
'--base_branch',
dest='base_branch',
default='master',
help='Base branch for new release')

args = parser.parse_args()
return args

Expand Down Expand Up @@ -88,13 +94,13 @@ def GetVersionData(git_root, version):
sys.exit('Missing version file:{}'.format(json_file))


def CreateReleaseBranch(release_branch):
def CreateReleaseBranch(release_branch, base_branch):
"""Create and push the release branch.

Args:
release_branch: the name of the git release branch.
"""
os.system('git checkout master')
os.system('git checkout {}'.format(base_branch))
os.system('git pull')
os.system('git checkout -b {}'.format(release_branch))
LogOrRun('git push origin {}'.format(release_branch))
Expand Down Expand Up @@ -233,7 +239,7 @@ def UpdateVersions():
return

release_branch = 'release-{}'.format(args.version)
CreateReleaseBranch(release_branch)
CreateReleaseBranch(release_branch, args.base_branch)
UpdateFIROptions(git_root, version_data)
UpdatePodSpecs(git_root, version_data, args.version)
UpdatePodfiles(git_root, args.version)
Expand Down