cocoapods-dev-env 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods/dev/env/version.rb +1 -1
- data/lib/cocoapods_plugin.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c819e17e2e938cabcc1855c0990b2d0eaaba2af6f53af8a16677c341bc055429
|
4
|
+
data.tar.gz: 73f66541b3cf873f2b88e99766b103dc388551ac06b315bad6862b3658f98e67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b3838c06c15f347f2464c6b641e6781f9c3d1166c8f32897db7c728c3595ab1736b95beb8f3624bc8174b45d9c099d53949a271d235a46f4d36035a5f00c585
|
7
|
+
data.tar.gz: 5f91efccbc4ed658d2c5383ed0555649bd42491631c26aef42b5235028ec18e2d1decbc833fb27d5bd9991a07d39b39a16f7ad2ad655627d56278e8e71044166
|
data/lib/cocoapods_plugin.rb
CHANGED
@@ -161,6 +161,7 @@ class Podfile
|
|
161
161
|
index = STDIN.gets.to_i - 1
|
162
162
|
end until (index >= 0 && index < podfile.sources.size)
|
163
163
|
source = podfile.sources[index]
|
164
|
+
UI.puts "#{"选择了发布到: ".yellow}. #{source.green}(#{index + 1})"
|
164
165
|
return source
|
165
166
|
end
|
166
167
|
|
@@ -321,12 +322,13 @@ class Podfile
|
|
321
322
|
if Config.instance.verbose
|
322
323
|
verboseParamStr = " --verbose"
|
323
324
|
end
|
324
|
-
ret = system("pod lib lint --skip-import-validation --allow-warnings#{getReposStrForLint()}#{verboseParamStr}")
|
325
|
+
ret = system("pod lib lint --skip-import-validation --fail-fast --allow-warnings#{getReposStrForLint()}#{verboseParamStr}")
|
325
326
|
if ret != true
|
326
327
|
raise "💔 #{pod_name.yellow} lint 失败"
|
327
328
|
end
|
328
329
|
checkGitStatusAndPush(pod_name)
|
329
|
-
|
330
|
+
changeVersionInCocoapods(pod_name, originTag)
|
331
|
+
checkGitStatusAndPush(pod_name)
|
330
332
|
ret = addGitTagAndPush(tag, pod_name)
|
331
333
|
if ret == false
|
332
334
|
if checkTagOrBranchIsEqalToHead(tag, "./")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-dev-env
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 吴锡苗
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|