From 063d1e91055a1baf5794f8512cf9589f1f06246b Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Fri, 15 Jun 2018 17:51:59 -0400 Subject: Automate release version updating (#1414) --- scripts/push-pods.sh | 41 --------------------------------- scripts/update-tags.sh | 61 -------------------------------------------------- 2 files changed, 102 deletions(-) delete mode 100755 scripts/push-pods.sh delete mode 100755 scripts/update-tags.sh (limited to 'scripts') diff --git a/scripts/push-pods.sh b/scripts/push-pods.sh deleted file mode 100755 index ed34d79..0000000 --- a/scripts/push-pods.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/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 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 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 - -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 diff --git a/scripts/update-tags.sh b/scripts/update-tags.sh deleted file mode 100755 index d29fb5c..0000000 --- a/scripts/update-tags.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/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 '5.2.0' -git push --delete origin 'Core-5.0.3' -git push --delete origin 'Auth-5.0.1' -#git push --delete origin 'Database-5.0.1' -git push --delete origin 'Firestore-0.12.3' -#git push --delete origin 'Functions-2.0.0' -git push --delete origin 'Messaging-3.0.2' -#git push --delete origin 'Storage-3.0.0' - -# Delete local tags - -git tag --delete '5.2.0' -git tag --delete 'Core-5.0.3' -git tag --delete 'Auth-5.0.1' -#git tag --delete 'Database-5.0.1' -git tag --delete 'Firestore-0.12.3' -#git tag --delete 'Functions-2.0.0' -git tag --delete 'Messaging-3.0.2' -#git tag --delete 'Storage-3.0.0' - -# Add and push the tags - -git tag '5.2.0' -git tag 'Core-5.0.3' -git tag 'Auth-5.0.1' -# git tag 'Database-5.0.1' -git tag 'Firestore-0.12.3' -#git tag 'Functions-2.0.0' -git tag 'Messaging-3.0.2' -#git tag 'Storage-3.0.0' - -git push origin --tags -- cgit v1.2.3