cocoapods-hooks 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-hooks/command/oem_config.rb +15 -3
- data/lib/cocoapods-hooks/gem_version.rb +1 -1
- 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: b774376e750a3c3822e4f5ed5c931eecaff030fe085c62fe5425f60f4b5519f2
|
4
|
+
data.tar.gz: 2697c46d3e92760c8758ee22b7bfbddf0e07191f8edeed0544692a8fc6a45447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
11
|
+
date: 2023-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|