mirror of
https://github.com/zhigang1992/react-native-vector-icons.git
synced 2026-01-12 17:42:58 +08:00
Makes podspec pull version number from package.json.
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
require 'json'
|
||||
version = JSON.parse(File.read('package.json'))["version"]
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
|
||||
s.name = "RNVectorIcons"
|
||||
s.version = "1.1.1"
|
||||
s.version = version
|
||||
s.summary = "Customizable Icons for React Native with support for NavBar/TabBar, image source and full styling."
|
||||
s.homepage = "https://github.com/oblador/react-native-vector-icons"
|
||||
s.license = "MIT"
|
||||
|
||||
Reference in New Issue
Block a user