Skip to content

Commit

Permalink
Use version from package.json in podspec (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicdoe authored Jul 15, 2020
1 parent d91f6dc commit 79f338b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion react-native-blur.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
s.name = "react-native-blur"
s.version = "0.8.0"
s.version = package["version"]
s.source_files = "ios/*.{h,m}"
s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
Expand Down

0 comments on commit 79f338b

Please sign in to comment.