lhj-tools 0.1.61 → 0.1.62
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/helper/pgyer_helper.rb +6 -1
- data/lib/lhj/tools/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: 3ba6211ebff2bc66ab95a3b3c7959156041b1c105c2e2b46cbf908a4bd5e126f
|
|
4
|
+
data.tar.gz: ee19c536c4c4c82fe9dfa9defe2c4db0e0dda9ad4eb287a3e861e3918b17f857
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ca8d2e5b7c738d0155ba72274dbe7c225b047e91b4efd2009651a7156e8d1cc49a8c29907c3cda8f251286f845f9f675b897ddb2cf82d5b8a5f44bd12cc8c6a
|
|
7
|
+
data.tar.gz: fa660c51bc40b2c39eada931362fb91a09c6f12986284c23914d93e5564cc42c2387b0f6c7bce2c70c845b51e1bfc2d3f498449985408cc833303aaf7d165b79
|
|
@@ -61,6 +61,7 @@ module Lhj
|
|
|
61
61
|
response = http_client.post API_HOST, params
|
|
62
62
|
@result = response.body
|
|
63
63
|
puts @result
|
|
64
|
+
Actions.sh('git restore ./', log: false)
|
|
64
65
|
puts 'upload success'
|
|
65
66
|
# if @result['data'] && @result['data']['appUpdateDescription'] && @env == :uat
|
|
66
67
|
# str = Lhj::TbHelper.trans_tb(@result['data']['appUpdateDescription'])
|
|
@@ -93,7 +94,11 @@ module Lhj
|
|
|
93
94
|
Lhj::OSS::Helper.instance.upload(oss_key, oss_file)
|
|
94
95
|
FileUtils.rm_r Dir.glob("#{path}/archive*.zip")
|
|
95
96
|
|
|
96
|
-
|
|
97
|
+
update_cmd = []
|
|
98
|
+
update_cmd << 'gem'
|
|
99
|
+
update_cmd << 'install'
|
|
100
|
+
update_cmd << "lhj-tools"
|
|
101
|
+
Actions.sh(update_cmd.join(' '), log: false, error_callback: nil)
|
|
97
102
|
end
|
|
98
103
|
|
|
99
104
|
def render_template
|
data/lib/lhj/tools/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lhj-tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.62
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lihaijian
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: xcodeproj
|