ci_toolkit 1.4.0 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/ci_toolkit/github_bot.rb +2 -0
- data/lib/ci_toolkit/github_pr.rb +5 -2
- 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: b7e1d3b62ad2c50c4919413c8a8773348447a20600260994868297e69763829d
|
4
|
+
data.tar.gz: be65e3582551c88dd43571a637bd8ee0fde57579eb9f1beee2298e4712a29979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c49efe0f49779d519d69f2bd530b09243adcc394c06cd27021e0e92b879da6548ee5cb4ba2984181b9e2fcd92bd676ab3979e07ba2cea1fd12dd1ea17f29f881
|
7
|
+
data.tar.gz: ea0691106684ae13c7538d215be2dc472de967929fc84d8f899f3cc0918f08ad47f7c042f6d22b07477a5325d8f7bc1c41454e0515ad64d87807a64dd6c9a076
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ci_toolkit (1.4.
|
4
|
+
ci_toolkit (1.4.4)
|
5
5
|
faraday
|
6
6
|
faraday_middleware
|
7
7
|
jwt
|
@@ -46,7 +46,7 @@ GEM
|
|
46
46
|
octokit (4.21.0)
|
47
47
|
faraday (>= 0.9)
|
48
48
|
sawyer (~> 0.8.0, >= 0.5.3)
|
49
|
-
openssl (2.2
|
49
|
+
openssl (2.1.2)
|
50
50
|
ipaddr
|
51
51
|
parallel (1.21.0)
|
52
52
|
parser (3.0.2.0)
|
data/lib/ci_toolkit/github_pr.rb
CHANGED
@@ -8,7 +8,7 @@ module CiToolkit
|
|
8
8
|
def initialize(
|
9
9
|
env = CiToolkit::BitriseEnv.new,
|
10
10
|
build_types = ENV["BUILD_TYPES"]&.split(/,/) || ["BluetoothDemo", "Acceptance PreProd", "Acceptance Prod",
|
11
|
-
"Latest Prod", "Latest PreProd", "Mock"],
|
11
|
+
"Latest Prod", "Latest PreProd", "Mock", "Design System"],
|
12
12
|
client = Octokit::Client.new
|
13
13
|
)
|
14
14
|
@pr_number = env.pull_request_number
|
@@ -84,7 +84,10 @@ module CiToolkit
|
|
84
84
|
def build_types
|
85
85
|
types = []
|
86
86
|
@build_types.each do |type|
|
87
|
-
|
87
|
+
if comments.include?("#{type} build") || labels.include?("#{type} build")
|
88
|
+
comments.include?(type) || labels.include?(type)
|
89
|
+
types.push(type)
|
90
|
+
end
|
88
91
|
end
|
89
92
|
types
|
90
93
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ci_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gero Keller
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|