Skip to content

Commit

Permalink
Automatically bump iOS pods
Browse files Browse the repository at this point in the history
Summary: Update our pods automatically post release

Reviewed By: priteshrnandgaonkar

Differential Revision: D28283782

fbshipit-source-id: eff0b033c6704e4e46c0eb96cc4d527969ce7ccc
  • Loading branch information
mweststrate authored and facebook-github-bot committed May 7, 2021
1 parent 9e978ca commit 42325e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/publish-pods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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: |
Expand Down
5 changes: 4 additions & 1 deletion react-native/ReactNativeFlipperExample/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand All @@ -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
Expand Down

0 comments on commit 42325e4

Please sign in to comment.