lhj-tools 0.1.8 → 0.1.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 +4 -4
- data/lib/lhj/command/init.rb +3 -1
- data/lib/lhj/command/sync_pod_repo.rb +1 -3
- data/lib/lhj/command.rb +2 -2
- data/lib/lhj/tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55ea8babd6d7b1aa8bdbc376bd7c624620dc4b868be6fa6decf8ba46443f4e4d
|
|
4
|
+
data.tar.gz: e802b2a688c86d442a6f2776b7d6ce0abf93edf82ef3b3fe2bdf4624ba8f4aa4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e23b3398d6c629c30814c5a3b0354430b215ce0d0b9f6cab8e499a87da74d0fc6d3a7c174e81d31d53e89a6eab603bc2f572e428f6715e3ab71a739f7e03a24d
|
|
7
|
+
data.tar.gz: 11872fd8fefb0e3dc88e344f20755bbb1a2615e4e28c91e09e20ff9c616379d35f6a33d57cd0b670a115e31e5725f121919ec74cd5db512423b9a36a28dfb70a
|
data/lib/lhj/command/init.rb
CHANGED
|
@@ -20,7 +20,9 @@ module Lhj
|
|
|
20
20
|
%w[http://aomi-ios-repo.oss-cn-shenzhen.aliyuncs.com/localizable_config.yml
|
|
21
21
|
http://aomi-ios-repo.oss-cn-shenzhen.aliyuncs.com/oss_config.yml
|
|
22
22
|
http://aomi-ios-repo.oss-cn-shenzhen.aliyuncs.com/yapi.yml
|
|
23
|
-
http://aomi-ios-repo.oss-cn-shenzhen.aliyuncs.com/zh2hant.yml
|
|
23
|
+
http://aomi-ios-repo.oss-cn-shenzhen.aliyuncs.com/zh2hant.yml
|
|
24
|
+
http://aomi-ios-repo.oss-cn-shenzhen.aliyuncs.com/pod_config.yml
|
|
25
|
+
http://aomi-ios-repo.oss-cn-shenzhen.aliyuncs.com/main_config.yml]
|
|
24
26
|
end
|
|
25
27
|
|
|
26
28
|
def target_folder
|
|
@@ -39,7 +39,7 @@ module Lhj
|
|
|
39
39
|
Actions.sh('git add .')
|
|
40
40
|
puts '3.git add成功'.green
|
|
41
41
|
|
|
42
|
-
Actions.sh("git commit -m '
|
|
42
|
+
Actions.sh("git commit -m '使用工具同步主工程代码'")
|
|
43
43
|
puts '4.git 提交成功'.green
|
|
44
44
|
|
|
45
45
|
Actions.sh('git push')
|
|
@@ -100,13 +100,11 @@ module Lhj
|
|
|
100
100
|
cmd = ['git tag']
|
|
101
101
|
cmd << '--force'
|
|
102
102
|
cmd << tag
|
|
103
|
-
UI.message("Adding git tag '#{tag}' 🎯.")
|
|
104
103
|
Actions.sh(cmd.join(' '))
|
|
105
104
|
end
|
|
106
105
|
|
|
107
106
|
def push_tag
|
|
108
107
|
cmd = ['git push --tags']
|
|
109
|
-
UI.message('git push --tags 🎯.')
|
|
110
108
|
Actions.sh(cmd.join(' '))
|
|
111
109
|
end
|
|
112
110
|
|
data/lib/lhj/command.rb
CHANGED
data/lib/lhj/tools/version.rb
CHANGED