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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e682e79b770b97ad8f3ec029bdfe7cb0c72ea421e43d10b3fc1344b9cc76c83
4
- data.tar.gz: 5d4a4f2b7718aa0baa69f9d7f945266a4f92adf9abed4c23f4248d48ec715960
3
+ metadata.gz: 3ba6211ebff2bc66ab95a3b3c7959156041b1c105c2e2b46cbf908a4bd5e126f
4
+ data.tar.gz: ee19c536c4c4c82fe9dfa9defe2c4db0e0dda9ad4eb287a3e861e3918b17f857
5
5
  SHA512:
6
- metadata.gz: c2641e70dc2e13c2007ddb45cf0afd9c0688450944b211a9c7be4f3ac25ecb88ec4cd883afa4d3fd2d1fe123c0fadb3eed42f3b5404dfbe056ab88248c2c2b23
7
- data.tar.gz: 53917b2a2aaae75836c19582ef96e483500e51d62924a2a0a7a30c64f41aba55c44950b57796c06161fdaaf11ecd622b86ee5a6fc4d9f704c71eeb4aa941cfeb
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
- Actions.sh('git restore ./', log: false)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lhj
4
4
  module Tools
5
- VERSION = "0.1.61"
5
+ VERSION = "0.1.62"
6
6
  end
7
7
  end
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.61
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-10-17 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcodeproj