diff --git a/.github/workflows/publish-pods.yml b/.github/workflows/publish-pods.yml index 74e8ef56b..84d7908fc 100644 --- a/.github/workflows/publish-pods.yml +++ b/.github/workflows/publish-pods.yml @@ -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: | diff --git a/react-native/ReactNativeFlipperExample/ios/Podfile b/react-native/ReactNativeFlipperExample/ios/Podfile index ab384f475..bbb5da906 100644 --- a/react-native/ReactNativeFlipperExample/ios/Podfile +++ b/react-native/ReactNativeFlipperExample/ios/Podfile @@ -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