lhj-tools 0.2.85 → 0.2.86
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lhj/helper/pgyer_helper.rb +6 -0
- data/lib/lhj/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: 4573a3fecaa5cbefb98c287f29a15aa4f1a79be649e72f496dcc2aa1b4148af1
|
4
|
+
data.tar.gz: 37d3f62d1c13febea06264d7682db2f1e34a7742cffea90021dd95509b61c8c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94969114c81edc604d008cd41792bd22e89cc7c2a9df504e140ffb3c3e85e2a9d4deb0721455993ff0d978c4d77648be6d42a989d5531a4a5393eabaf993efec
|
7
|
+
data.tar.gz: 0fe2d76cc440aa705b979a0b35865854aaa2c601e21e5a04a79d07f1bf4b2eea0e09a7f5b0f2b163606b4f7ba70d7af1a8d34448e7787bf717cb17be0f0cb5ea
|
@@ -4,6 +4,7 @@ require 'faraday_middleware'
|
|
4
4
|
require 'lhj/helper/pgyer_config'
|
5
5
|
require 'lhj/helper/vika_helper'
|
6
6
|
require 'lhj/helper/oss_helper'
|
7
|
+
require 'lhj/helper/git_helper'
|
7
8
|
require 'lhj/config'
|
8
9
|
require_relative 'tb_config'
|
9
10
|
|
@@ -99,6 +100,7 @@ module Lhj
|
|
99
100
|
short_url = info['data']['buildShortcutUrl']
|
100
101
|
short_url = info['data']['buildKey'] if short_url.nil? || short_url == ''
|
101
102
|
info['data']['fastlaneAddedWholeVisitUrl'] = "https://wwww.xcxwo.com/#{short_url}"
|
103
|
+
info['commitId'] = last_commit_id
|
102
104
|
info
|
103
105
|
elsif [1246, 1247].include?(code)
|
104
106
|
sleep 3
|
@@ -108,6 +110,10 @@ module Lhj
|
|
108
110
|
end
|
109
111
|
end
|
110
112
|
|
113
|
+
def last_commit_id
|
114
|
+
Lhj::Actions.last_git_commit_hash(true)
|
115
|
+
end
|
116
|
+
|
111
117
|
def upload_with_type(path, file)
|
112
118
|
return unless @env == :release
|
113
119
|
return unless /hai/ =~ path
|
data/lib/lhj/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.2.
|
4
|
+
version: 0.2.86
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lihaijian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xcodeproj
|