ikun 1.2.1 → 1.3.0

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: 6a505213ba8e0f79e42935518263018616cab20bd0ae749e0a16d4f804e52d15
4
- data.tar.gz: 0f0dd5cf9345117a10598f5f0aa498962e4f66fe673dfacdeb0304426ef5d157
3
+ metadata.gz: 2283436b85d82006e7a2a6bf796650faab5c003e14ccae960d30e5352208c9de
4
+ data.tar.gz: d9ddc34590dfbee24524010aebe154a8e629dd89b936a54587f3794e82b95c8c
5
5
  SHA512:
6
- metadata.gz: b90046f294d48963ddaef77dfe6a1bd230758f9a0b6084c3658ceebd15bc045c5d66bb6fdd1a3f02d3aceed6ad17bd11ff89b7e4a1a302b08fe0f0301e475d0c
7
- data.tar.gz: f0ca4a2b69f3a12b16ae5c79572630291e84651bf680a902846a819325ae7a04277714017fb54c1e4735fd7af3cc759d3d743eeca579ad86e8480c7e983e761e
6
+ metadata.gz: bd5f6156bbedd53effd6be69cea5db7aadc892056966d807f11ccd5f85369c1712efeeb022a5e36a3024e253d7dad43c6a52d1cbb6e2afc93bb065abf5e6736a
7
+ data.tar.gz: 7f7feb57cdf0a5aef287974511bc4635b33df6982af7ec45b5320cabcb673a52bc265616f51709dd5df36dd27528e54ac1c30e53171c5d0924bdaadbbfed6960
data/lib/ikun/command.rb CHANGED
@@ -47,7 +47,14 @@ class Update < Ikun::Command
47
47
  self.summary = '更新证书'
48
48
  self.description = '更新证书'
49
49
 
50
+ def self.options
51
+ [
52
+ ['--building', '编译引擎']
53
+ ].concat(super)
54
+ end
55
+
50
56
  def initialize(argv)
57
+ @building = argv.flag?('building', false)
51
58
  super
52
59
  end
53
60
 
@@ -60,7 +67,13 @@ class Update < Ikun::Command
60
67
  `git clone git@gitlab.appshahe.com:ios-automation/cers.git -b main --single-branch --depth 1`
61
68
  FileUtils.cd('cers')
62
69
 
70
+ # 安装cer
71
+ `sh install_cers.sh`
63
72
  # 安装provisioning profile
64
- `sh install.sh`
73
+ if @building
74
+ `sh install_building.sh -b #{@building}`
75
+ else
76
+ `sh install_running.sh -b #{@building}`
77
+ end
65
78
  end
66
79
  end
data/lib/ikun/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ikun
2
- VERSION = "1.2.1"
2
+ VERSION = "1.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ikun
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lei.han
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-15 00:00:00.000000000 Z
11
+ date: 2024-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: claide