lhj-tools 0.1.60 → 0.1.61

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37fecc386839f728e03f6aab371802d40b0963c87fd98d357b68a6a4e9f80961
4
- data.tar.gz: 28199dc639669faae50ca7ad0e2bfb8e8255117aa72589b61f8f6f47dabfcdcf
3
+ metadata.gz: 5e682e79b770b97ad8f3ec029bdfe7cb0c72ea421e43d10b3fc1344b9cc76c83
4
+ data.tar.gz: 5d4a4f2b7718aa0baa69f9d7f945266a4f92adf9abed4c23f4248d48ec715960
5
5
  SHA512:
6
- metadata.gz: b1cee265eb6eb4314ddde0a42b173e158eab15951d54b5747fa0041bc0074d84659efa358b0892634961bd3ab3e57c060b0b77d9c810f5345e1aa5154963ebfb
7
- data.tar.gz: d6cc3cfee12a03734215b005149d4c9abb49acd26126a2f63399c477fc0f8aed1f4bf94cf62af0746d757e53cd385aee16c8159e6a9e5e44ec52d264005f3262
6
+ metadata.gz: c2641e70dc2e13c2007ddb45cf0afd9c0688450944b211a9c7be4f3ac25ecb88ec4cd883afa4d3fd2d1fe123c0fadb3eed42f3b5404dfbe056ab88248c2c2b23
7
+ data.tar.gz: 53917b2a2aaae75836c19582ef96e483500e51d62924a2a0a7a30c64f41aba55c44950b57796c06161fdaaf11ecd622b86ee5a6fc4d9f704c71eeb4aa941cfeb
@@ -39,16 +39,14 @@ module Lhj
39
39
  end
40
40
  end
41
41
 
42
- def upload_file(file, des)
43
- upload_with_path('', file, des)
44
- end
42
+ # def upload_file(file, des)
43
+ # upload_with_path('', file, des)
44
+ # end
45
45
 
46
46
  # @param [current path] path
47
47
  # @param [upload file] file
48
48
  # @param [desc] des
49
49
  def upload_with_path(path, file, des)
50
- update_description = @result[:update_description]
51
- update_description = '' if update_description.nil?
52
50
  params = {
53
51
  '_api_key' => @api_key,
54
52
  'uKey' => @user_key,
@@ -94,6 +92,8 @@ module Lhj
94
92
 
95
93
  Lhj::OSS::Helper.instance.upload(oss_key, oss_file)
96
94
  FileUtils.rm_r Dir.glob("#{path}/archive*.zip")
95
+
96
+ Actions.sh('git restore ./', log: false)
97
97
  end
98
98
 
99
99
  def render_template
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lhj
4
4
  module Tools
5
- VERSION = "0.1.60"
5
+ VERSION = "0.1.61"
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.60
4
+ version: 0.1.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - lihaijian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-31 00:00:00.000000000 Z
11
+ date: 2022-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcodeproj