瀏覽代碼

chore(podspec): Add version to podspec (#646)

Hyo Chan Jang 6 年之前
父節點
當前提交
73c630c5bb
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      react-native-webview.podspec

+ 1
- 1
react-native-webview.podspec 查看文件

12
   s.homepage     = package['homepage']
12
   s.homepage     = package['homepage']
13
   s.platform     = :ios, "9.0"
13
   s.platform     = :ios, "9.0"
14
 
14
 
15
-  s.source       = { :git => "https://github.com/react-native-community/react-native-webview.git" }
15
+  s.source       = { :git => "https://github.com/react-native-community/react-native-webview.git, :tag => "#{s.version}" }
16
   s.source_files  = "ios/**/*.{h,m}"
16
   s.source_files  = "ios/**/*.{h,m}"
17
 
17
 
18
   s.dependency 'React'
18
   s.dependency 'React'