cocoapods-hooks 0.0.2 → 0.0.3

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: d18d0fe6410b66019897d7d413a8c0391a4869d337b3926125b13d24128b4fb1
4
- data.tar.gz: a87ecc9d0799a34537a241de9514eb4bb6058bb36a0e30678c1bc0a3fe58aa6f
3
+ metadata.gz: b774376e750a3c3822e4f5ed5c931eecaff030fe085c62fe5425f60f4b5519f2
4
+ data.tar.gz: 2697c46d3e92760c8758ee22b7bfbddf0e07191f8edeed0544692a8fc6a45447
5
5
  SHA512:
6
- metadata.gz: 1aa3d7dd395c56c4eea8e80e950a3fae5254038eab9cf1d5bb57bd2ca4d06d09990ba8595a12826eae3a7340bab8c9a23e02a7bf0a3344dc2c75b83d09da1594
7
- data.tar.gz: 39f15884011a678b1771a16aada918efea5abbf859333100284f21f5787dc60e0781930e9dae9c1e5c60c4751ad58f038fde65fa786b2c640a07aee3f201b1ff
6
+ metadata.gz: 353d56fe09af4ec28c657d175497f5ce0e4a87af66232605fb347547409fd76e8b76ddba8e7d3125447d56241ca276768c512f3793fa0bd3063a54331a6ef511
7
+ data.tar.gz: d3bff57043eaa38635974c1a91ce4abe81901e671470db55dfc18881c0fd53e30df49c7b78d50e7d59f50ba503a30e355a05460fb736a1e8fea2f392e8210ba1
@@ -31,11 +31,23 @@ module Pod
31
31
  @branch = 'main_develop'
32
32
  end
33
33
  # 1. 根据 tenant_id 下载相关的配置文件
34
- system("pod git-clone --tenantid=#{@tenantid} --branch=#{@branch}")
34
+ result = system("pod git-clone --tenantid=#{@tenantid} --branch=#{@branch}")
35
+ unless result
36
+ puts "pod git-clone command execution failed. Exiting..."
37
+ exist 1
38
+ end
35
39
  # 2. 修改图片的主题色
36
- system("pod change-color")
40
+ result = system("pod change-color")
41
+ unless result
42
+ puts "pod change-color command execution failed. Exiting..."
43
+ exist 1
44
+ end
37
45
  # 3. 修改工程配置, 进行签名
38
- system("pod fastlane-sign")
46
+ result = system("pod fastlane-sign")
47
+ unless result
48
+ puts "pod fastlane-sign command execution failed. Exiting..."
49
+ exist 1
50
+ end
39
51
  end
40
52
  end
41
53
  end
@@ -1,3 +1,3 @@
1
1
  module CocoapodsHooks
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - huafeng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-18 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler