From ef884acec7fc8af6b7b577fd7bd5e8fa866aa546 Mon Sep 17 00:00:00 2001 From: Mark Miyashita Date: Thu, 7 Apr 2016 16:53:44 -0700 Subject: [PATCH] [Podspec] Read version from the package.json, add author, add tag to the git source, add .git extension --- react-native-video.podspec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/react-native-video.podspec b/react-native-video.podspec index fc7a1d65..0f3fac59 100644 --- a/react-native-video.podspec +++ b/react-native-video.podspec @@ -1,16 +1,21 @@ +require "json" + +package = JSON.parse(File.read(File.join(__dir__, "package.json"))) + Pod::Spec.new do |s| s.name = "react-native-video" - s.version = "0.7.1" + s.version = package["version"] s.summary = "A