Automatically bump iOS pods

Summary: Update our pods automatically post release

Reviewed By: priteshrnandgaonkar

Differential Revision: D28283782

fbshipit-source-id: eff0b033c6704e4e46c0eb96cc4d527969ce7ccc
This commit is contained in:
Michel Weststrate
2021-05-07 09:40:21 -07:00
committed by Facebook GitHub Bot
parent 9e978cad76
commit 42325e41c5
2 changed files with 13 additions and 1 deletions

View File

@@ -68,6 +68,9 @@ jobs:
- name: Update RN getting started guide
run: ./scripts/update-pod-versions.sh ./ ./docs/getting-started/react-native-ios.mdx
- name: Update ReactNativeFlipperExample
run: ./scripts/update-pod-versions.sh ./ ./react-native/ReactNativeFlipperExample/ios/Podfile
- name: Install Dependencies
run: pod repo update
@@ -93,6 +96,12 @@ jobs:
for i in {1..20}; do pod update && break || sleep 30; done
ls
- name: Update ReactNativeFlipperExample Podfile.lock
run: |
cd react-native/ReactNativeFlipperExample/ios/
pod update --repo-update
ls
# Followed this https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#creating-pull-requests-on-tag-push
- name: Create a temporary tag branch
run: |

View File

@@ -3,6 +3,9 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
platform :ios, '10.0'
# used for automatic bumping
flipperkit_version = '0.88.0'
target 'ReactNativeFlipperExample' do
config = use_native_modules!
use_react_native!(
@@ -19,7 +22,7 @@ target 'ReactNativeFlipperExample' do
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!({ 'Flipper' => '0.88.0', 'Flipper-Folly' => '2.6.7', 'Flipper-RSocket' => '1.4.3', 'Flipper-DoubleConversion' => '3.1.7', 'Flipper-Glog' => '0.3.9', 'Flipper-PeerTalk' => '0.0.4' })
use_flipper!({ 'Flipper' => flipperkit_version, 'Flipper-Folly' => '2.6.7', 'Flipper-RSocket' => '1.4.3', 'Flipper-DoubleConversion' => '3.1.7', 'Flipper-Glog' => '0.3.9', 'Flipper-PeerTalk' => '0.0.4' })
post_install do |installer|
flipper_post_install(installer)
# based on https://stackoverflow.com/a/37289688/1983583