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:
committed by
Facebook GitHub Bot
parent
9e978cad76
commit
42325e41c5
9
.github/workflows/publish-pods.yml
vendored
9
.github/workflows/publish-pods.yml
vendored
@@ -68,6 +68,9 @@ jobs:
|
|||||||
- name: Update RN getting started guide
|
- name: Update RN getting started guide
|
||||||
run: ./scripts/update-pod-versions.sh ./ ./docs/getting-started/react-native-ios.mdx
|
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
|
- name: Install Dependencies
|
||||||
run: pod repo update
|
run: pod repo update
|
||||||
|
|
||||||
@@ -93,6 +96,12 @@ jobs:
|
|||||||
for i in {1..20}; do pod update && break || sleep 30; done
|
for i in {1..20}; do pod update && break || sleep 30; done
|
||||||
ls
|
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
|
# 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
|
- name: Create a temporary tag branch
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
|
|||||||
|
|
||||||
platform :ios, '10.0'
|
platform :ios, '10.0'
|
||||||
|
|
||||||
|
# used for automatic bumping
|
||||||
|
flipperkit_version = '0.88.0'
|
||||||
|
|
||||||
target 'ReactNativeFlipperExample' do
|
target 'ReactNativeFlipperExample' do
|
||||||
config = use_native_modules!
|
config = use_native_modules!
|
||||||
use_react_native!(
|
use_react_native!(
|
||||||
@@ -19,7 +22,7 @@ target 'ReactNativeFlipperExample' do
|
|||||||
#
|
#
|
||||||
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
||||||
# you should disable these next few lines.
|
# 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|
|
post_install do |installer|
|
||||||
flipper_post_install(installer)
|
flipper_post_install(installer)
|
||||||
# based on https://stackoverflow.com/a/37289688/1983583
|
# based on https://stackoverflow.com/a/37289688/1983583
|
||||||
|
|||||||
Reference in New Issue
Block a user