Use version from package.json in podspec (#374)
This commit is contained in:
parent
d91f6dcd03
commit
79f338b513
|
@ -1,6 +1,10 @@
|
||||||
|
require "json"
|
||||||
|
|
||||||
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
||||||
|
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = "react-native-blur"
|
s.name = "react-native-blur"
|
||||||
s.version = "0.8.0"
|
s.version = package["version"]
|
||||||
s.source_files = "ios/*.{h,m}"
|
s.source_files = "ios/*.{h,m}"
|
||||||
s.ios.deployment_target = '8.0'
|
s.ios.deployment_target = '8.0'
|
||||||
s.tvos.deployment_target = '9.0'
|
s.tvos.deployment_target = '9.0'
|
||||||
|
|
Loading…
Reference in New Issue