Skip to content

Commit 79f338b

Browse files
authored
Use version from package.json in podspec (#374)
1 parent d91f6dc commit 79f338b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

react-native-blur.podspec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
require "json"
2+
3+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4+
15
Pod::Spec.new do |s|
26
s.name = "react-native-blur"
3-
s.version = "0.8.0"
7+
s.version = package["version"]
48
s.source_files = "ios/*.{h,m}"
59
s.ios.deployment_target = '8.0'
610
s.tvos.deployment_target = '9.0'

0 commit comments

Comments
 (0)