Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit ef70bd7

Browse files
committed
Merge pull request #308 from Microsoft/pod_fix
Syncing Podspec version with package.json
2 parents 8c05c83 + dc1661e commit ef70bd7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

CodePush.podspec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
require 'json'
2+
3+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4+
15
Pod::Spec.new do |s|
26

37
s.name = 'CodePush'
4-
s.version = '1.10.4'
5-
s.summary = 'React Native plugin for the CodePush service'
8+
s.version = package['version'].sub('-beta', '')
9+
s.summary = 'React Native module for the CodePush service'
610
s.author = 'Microsoft Corporation'
711
s.license = 'MIT'
812
s.homepage = 'http://microsoft.github.io/code-push/'
@@ -14,4 +18,4 @@ Pod::Spec.new do |s|
1418
s.library = 'z'
1519
s.dependency 'React'
1620

17-
end
21+
end

0 commit comments

Comments
 (0)