Skip to content

Commit

Permalink
Merge pull request #14374 from wordpress-mobile/gutenberg/integrate_r…
Browse files Browse the repository at this point in the history
…elease_1.31.0

Gutenberg/integrate release 1.31.0
  • Loading branch information
SergioEstevao authored Jun 26, 2020
2 parents 3e97347 + 1caec19 commit 972af68
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 84 deletions.
8 changes: 5 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ end

def gutenberg(options)
options[:git] = 'http://github.com/wordpress-mobile/gutenberg-mobile/'
options[:submodules] = true
local_gutenberg = ENV['LOCAL_GUTENBERG']
if local_gutenberg
options = { :path => local_gutenberg.include?('/') ? local_gutenberg : '../gutenberg-mobile' }
Expand Down Expand Up @@ -119,7 +120,8 @@ def gutenberg_dependencies(options)
'RNSVG',
'ReactNativeDarkMode',
'react-native-slider',
'react-native-linear-gradient'
'react-native-linear-gradient',
'react-native-get-random-values'
]
if options[:path]
podspec_prefix = options[:path]
Expand All @@ -129,7 +131,7 @@ def gutenberg_dependencies(options)
end

for pod_name in dependencies do
pod pod_name, :podspec => "#{podspec_prefix}/react-native-gutenberg-bridge/third-party-podspecs/#{pod_name}.podspec.json"
pod pod_name, :podspec => "#{podspec_prefix}/third-party-podspecs/#{pod_name}.podspec.json"
end
end

Expand All @@ -146,7 +148,7 @@ target 'WordPress' do
## Gutenberg (React Native)
## =====================
##
gutenberg :commit => '74f2bb2c58b1fcd9a10125b78673318d5ef8d0a4'
gutenberg :tag => 'v1.31.0'

## Third party libraries
## =====================
Expand Down
Loading

0 comments on commit 972af68

Please sign in to comment.