Syncing version with package.json
This commit is contained in:
Родитель
8c05c833de
Коммит
dc1661e063
|
@ -1,8 +1,12 @@
|
|||
require 'json'
|
||||
|
||||
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
|
||||
s.name = 'CodePush'
|
||||
s.version = '1.10.4'
|
||||
s.summary = 'React Native plugin for the CodePush service'
|
||||
s.version = package['version'].sub('-beta', '')
|
||||
s.summary = 'React Native module for the CodePush service'
|
||||
s.author = 'Microsoft Corporation'
|
||||
s.license = 'MIT'
|
||||
s.homepage = 'http://microsoft.github.io/code-push/'
|
||||
|
@ -14,4 +18,4 @@ Pod::Spec.new do |s|
|
|||
s.library = 'z'
|
||||
s.dependency 'React'
|
||||
|
||||
end
|
||||
end
|
Загрузка…
Ссылка в новой задаче