cocoapods-dev-env 0.9.8 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eba297c1e0a9132aa37caa6a96fd5d3c0c7f358ea37c7770c09d72060e21bee4
4
- data.tar.gz: 914c791d30f0445ae40acefddcfb128128bb154ed59f7c9f2a805a149d3282eb
3
+ metadata.gz: c819e17e2e938cabcc1855c0990b2d0eaaba2af6f53af8a16677c341bc055429
4
+ data.tar.gz: 73f66541b3cf873f2b88e99766b103dc388551ac06b315bad6862b3658f98e67
5
5
  SHA512:
6
- metadata.gz: ede85195fecf0b9996882ef34cd42eb23bf32df0e439e89dc57b119bc32c5135ecde8ec04d457907e820777239c01c01147d63569481e56a53f8bef5f0cd82e9
7
- data.tar.gz: ee4b507a7a4d52cd0821217a8fad64147b694dc25701896aa6d5f96db68c63d151d51dc5d55b7060d71634ea4b24df797a43ff364827fde600ea7a4797178d8d
6
+ metadata.gz: 1b3838c06c15f347f2464c6b641e6781f9c3d1166c8f32897db7c728c3595ab1736b95beb8f3624bc8174b45d9c099d53949a271d235a46f4d36035a5f00c585
7
+ data.tar.gz: 5f91efccbc4ed658d2c5383ed0555649bd42491631c26aef42b5235028ec18e2d1decbc833fb27d5bd9991a07d39b39a16f7ad2ad655627d56278e8e71044166
@@ -1,7 +1,7 @@
1
1
  module Cocoapods
2
2
  module Dev
3
3
  module Env
4
- VERSION = "0.9.8"
4
+ VERSION = "0.9.9"
5
5
  end
6
6
  end
7
7
  end
@@ -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
- ## TODO:: 检查tag版本号与podspec里的版本号是否一致
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.8
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: 2020-09-16 00:00:00.000000000 Z
11
+ date: 2021-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler