lhj-tools 0.2.84 → 0.2.85

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: b5099d017ea0c7cfff90a0f2a63084a5a1714c832246f10d3c7dcc34162c5072
4
- data.tar.gz: f336ef00bff5aadfc71612f07100ff4a74012302b59a134b9bc6819bd9631e6a
3
+ metadata.gz: 7ac8d9de925c4a6004b4cf22f6cb14a895d871dd1c70bd9b6b4b88741ae314aa
4
+ data.tar.gz: 5db49d39898e4ba66a64d86d7a5bf13e19b568247db084faa1a2ce2b12232fac
5
5
  SHA512:
6
- metadata.gz: ac9b2e52461c0d8b85bfb3b27ecf0472b3b6a6b910e8071ac1716b3f27254ba50d06cd070a2f7123208a343e0eb87b81cd6c39db4bb6b756c5158f95ba407d0a
7
- data.tar.gz: 41d174583980d1b6eb72598259e2dbef709c4834c211c904126017677d4869ee0baeb1ac898192a6b5f83afee595817d8b9be85be84cab621a673b7ed2808043
6
+ metadata.gz: 1c7cb5985e175caf4b7c7f7c7cdbc336d93f04d237914356473d26e75a7161f7d042f159b526bbfff3a28b5271ebbcd1fd5bd4f5e6690f27ea93724233fb4572
7
+ data.tar.gz: 230edcf280d2d03f08db2405b826d2e435e8694223a1d30e76d2c57244a5a508f6dda40a5869c94b078b4f0c0651826700c76666597878b91626c872d5dc0638
@@ -105,6 +105,10 @@ module Lhj
105
105
  vers.last[:value]
106
106
  end
107
107
 
108
+ def last_commit_id
109
+ Lhj::Actions.last_git_commit_hash(true)
110
+ end
111
+
108
112
  def build_app_version_no
109
113
  # xcode build version
110
114
  # ${BUILD_NUMBER} of jenkins
@@ -1,5 +1,4 @@
1
1
  # frozen_string_literal: true
2
- require 'jenkins_api_client'
3
2
  require 'faraday'
4
3
  require 'faraday_middleware'
5
4
 
data/lib/lhj/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lhj
4
- VERSION = '0.2.84'
4
+ VERSION = '0.2.85'
5
5
  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.2.84
4
+ version: 0.2.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - lihaijian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-21 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcodeproj