From fbd5acb785bd3fc10d966c621fe4c1fc2f96c29a Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Wed, 18 Apr 2018 07:01:02 -0700 Subject: Temporary 5.0.0 release management scripts (#1133) --- scripts/push-pods.sh | 30 ++++++++++++++++++++++++++ scripts/update-tags.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100755 scripts/push-pods.sh create mode 100755 scripts/update-tags.sh (limited to 'scripts') diff --git a/scripts/push-pods.sh b/scripts/push-pods.sh new file mode 100755 index 0000000..f40957b --- /dev/null +++ b/scripts/push-pods.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash + +# Copyright 2018 Google +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Push all the io2018 pods + +# When bootstrapping a repo, FirebaseCore must be pushed first, then +# FirebaseInstanceID, then FirebaseAnalytics, then the rest +# Most of the warnings are tvOS specific. The Firestore one needs +# investigation. + +pod repo push io2018 FirebaseCore.podspec +pod repo push io2018 FirebaseAuth.podspec --allow-warnings +pod repo push io2018 FirebaseDatabase.podspec --allow-warnings +pod repo push io2018 FirebaseFirestore.podspec --allow-warnings +pod repo push io2018 FirebaseFunctions.podspec +pod repo push io2018 FirebaseMessaging.podspec +pod repo push io2018 FirebaseStorage.podspec --allow-warnings diff --git a/scripts/update-tags.sh b/scripts/update-tags.sh new file mode 100755 index 0000000..3db0de9 --- /dev/null +++ b/scripts/update-tags.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash + +# Copyright 2018 Google +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Update the tags for the Firebase 5.0.0 release process + +# Before running, make sure everything is pushed. + +# This script should be a spec for a more robust Python or Swift script that +# does the following. +# 1. Verify all files are committed +# 2. Verify running on a release branch +# 3. Read the versions from the podspec (or incorporate into even more +# automated version management) + +# Delete any existing tags at origin + +git push --delete origin 'Core-5.0.0' +git push --delete origin 'Auth-5.0.0' +git push --delete origin 'Database-5.0.0' +git push --delete origin 'Firestore-0.12.0' +git push --delete origin 'Functions-2.0.0' +git push --delete origin 'Messaging-3.0.0' +git push --delete origin 'Storage-3.0.0' + +# Delete local tags + +git tag --delete 'Core-5.0.0' +git tag --delete 'Auth-5.0.0' +git tag --delete 'Database-5.0.0' +git tag --delete 'Firestore-0.12.0' +git tag --delete 'Functions-2.0.0' +git tag --delete 'Messaging-3.0.0' +git tag --delete 'Storage-3.0.0' + +# Add and push the tags + +git tag 'Core-5.0.0' +git tag 'Auth-5.0.0' +git tag 'Database-5.0.0' +git tag 'Firestore-0.12.0' +git tag 'Functions-2.0.0' +git tag 'Messaging-3.0.0' +git tag 'Storage-3.0.0' + +git push origin --tags -- cgit v1.2.3 From a19773b9f3bd37aee6866846c38a2e0559ffb9d0 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Fri, 20 Apr 2018 14:13:17 -0700 Subject: pod lib lint status (#1160) --- scripts/push-pods.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/push-pods.sh b/scripts/push-pods.sh index f40957b..39ce4ea 100755 --- a/scripts/push-pods.sh +++ b/scripts/push-pods.sh @@ -27,4 +27,14 @@ pod repo push io2018 FirebaseDatabase.podspec --allow-warnings pod repo push io2018 FirebaseFirestore.podspec --allow-warnings pod repo push io2018 FirebaseFunctions.podspec pod repo push io2018 FirebaseMessaging.podspec -pod repo push io2018 FirebaseStorage.podspec --allow-warnings +pod repo push io2018 FirebaseStorage.podspec + +# FirebaseAuth warnings +# https://github.com/firebase/firebase-ios-sdk/pull/1159 +# https://github.com/google/google-toolbox-for-mac/issues/162 + +# FirebaseDatabase warnings +# https://github.com/firebase/firebase-ios-sdk/pull/1155 + +# FirebaseFirestore warning (no plan to fix) +# https://github.com/firebase/firebase-ios-sdk/issues/1143 -- cgit v1.2.3 From 7707f37c770212c69d9ca4b36fba7e3ae193c108 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Wed, 25 Apr 2018 12:26:47 -0700 Subject: Updates for push-pods script (#1184) --- scripts/push-pods.sh | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'scripts') diff --git a/scripts/push-pods.sh b/scripts/push-pods.sh index 39ce4ea..2fb8eaa 100755 --- a/scripts/push-pods.sh +++ b/scripts/push-pods.sh @@ -14,27 +14,28 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Push all the io2018 pods +# Push GitHub pods to cpdc-internal-spec. # When bootstrapping a repo, FirebaseCore must be pushed first, then # FirebaseInstanceID, then FirebaseAnalytics, then the rest # Most of the warnings are tvOS specific. The Firestore one needs # investigation. -pod repo push io2018 FirebaseCore.podspec -pod repo push io2018 FirebaseAuth.podspec --allow-warnings -pod repo push io2018 FirebaseDatabase.podspec --allow-warnings -pod repo push io2018 FirebaseFirestore.podspec --allow-warnings -pod repo push io2018 FirebaseFunctions.podspec -pod repo push io2018 FirebaseMessaging.podspec -pod repo push io2018 FirebaseStorage.podspec +pod cache clean FirebaseCore --all +pod cache clean FirebaseAuth --all +pod cache clean FirebaseDatabase --all +pod cache clean FirebaseFirestore --all +pod cache clean FirebaseFunctions --all +pod cache clean FirebaseMessaging --all +pod cache clean FirebaseStorage --all -# FirebaseAuth warnings -# https://github.com/firebase/firebase-ios-sdk/pull/1159 -# https://github.com/google/google-toolbox-for-mac/issues/162 - -# FirebaseDatabase warnings -# https://github.com/firebase/firebase-ios-sdk/pull/1155 +pod repo push cpdc-internal-spec FirebaseCore.podspec +pod repo push cpdc-internal-spec FirebaseAuth.podspec +pod repo push cpdc-internal-spec FirebaseDatabase.podspec +pod repo push cpdc-internal-spec FirebaseFirestore.podspec --allow-warnings +pod repo push cpdc-internal-spec FirebaseFunctions.podspec +pod repo push cpdc-internal-spec FirebaseMessaging.podspec +pod repo push cpdc-internal-spec FirebaseStorage.podspec # FirebaseFirestore warning (no plan to fix) # https://github.com/firebase/firebase-ios-sdk/issues/1143 -- cgit v1.2.3 From 7dd3ee0272651a521ad2b047ec6e3350d4fc1d2f Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Tue, 1 May 2018 07:21:15 -0700 Subject: Add Firebase version tag (#1205) --- scripts/update-tags.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/update-tags.sh b/scripts/update-tags.sh index 3db0de9..64cf1ce 100755 --- a/scripts/update-tags.sh +++ b/scripts/update-tags.sh @@ -27,6 +27,7 @@ # Delete any existing tags at origin +git push --delete origin '5.0.0' git push --delete origin 'Core-5.0.0' git push --delete origin 'Auth-5.0.0' git push --delete origin 'Database-5.0.0' @@ -37,6 +38,7 @@ git push --delete origin 'Storage-3.0.0' # Delete local tags +git tag --delete '5.0.0' git tag --delete 'Core-5.0.0' git tag --delete 'Auth-5.0.0' git tag --delete 'Database-5.0.0' @@ -47,6 +49,7 @@ git tag --delete 'Storage-3.0.0' # Add and push the tags +git tag '5.0.0' git tag 'Core-5.0.0' git tag 'Auth-5.0.0' git tag 'Database-5.0.0' -- cgit v1.2.3