Skip to content

Commit f808cfe

Browse files
authored
fix: Fix podspec version
Fixes #97
1 parent 009cf99 commit f808cfe

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

react-native-tcp-socket.podspec

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,12 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
44

55
Pod::Spec.new do |s|
66
s.name = "react-native-tcp-socket"
7-
s.version = package["version"]
8-
s.summary = package["description"]
9-
s.description = <<-DESC
10-
react-native-tcp-socket
11-
DESC
12-
s.homepage = "https://github.com/Rapsssito/react-native-tcp-socket"
13-
s.license = "MIT"
14-
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
15-
s.authors = { "Rapsssito" => "[email protected]" }
7+
s.version = package['version']
8+
s.summary = package['description']
9+
s.license = package['license']
10+
s.authors = package['author']
1611
s.platforms = { :ios => "9.0", :tvos => "10.0", :osx => "10.14" }
17-
s.source = { :git => "https://github.com/Rapsssito/react-native-tcp-socket.git", :tag => "#{s.version}" }
12+
s.source = { :git => "https://github.com/Rapsssito/react-native-tcp-socket.git", :tag => "#v{s.version}" }
1813

1914
s.source_files = "ios/**/*.{h,m,swift}"
2015
s.requires_arc = true
@@ -23,4 +18,3 @@ Pod::Spec.new do |s|
2318
s.dependency "CocoaAsyncSocket"
2419

2520
end
26-

0 commit comments

Comments
 (0)