buildkite-builder 1.0.0.beta.3 → 1.0.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/buildkite/builder.rb +1 -1
- data/lib/buildkite/builder/commands/run.rb +0 -12
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1c9b9e735b6130fa12f1424bc3a6fecdb280edd9b600e003acb406c3462c114
|
4
|
+
data.tar.gz: 82ab940a585b5021d0337dba8fda4a9a8c2d5b69214aae65271799c53918f406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39db63fa323f822549a64045d6100fb646956ffc077c16752af9b24f9e8467cf5d73538a074d3d91e94b526de8a6ad37da08125475b4fad9d80d6c61823711ed
|
7
|
+
data.tar.gz: 700414499cec1e93162eddbe075015316e253ab9e2d73d328d8cc7a1a09bf5685f18d6dcdc5ef516651a9596302f8483a3dc73fa78419b601cb51422f30c01f8
|
data/lib/buildkite/builder.rb
CHANGED
@@ -9,20 +9,8 @@ module Buildkite
|
|
9
9
|
self.description = 'Builds and uploads the generated pipeline.'
|
10
10
|
|
11
11
|
def run
|
12
|
-
unless pipeline
|
13
|
-
raise 'You must specify a pipeline'
|
14
|
-
end
|
15
|
-
|
16
12
|
Builder::Runner.run
|
17
13
|
end
|
18
|
-
|
19
|
-
def pipeline
|
20
|
-
@pipeline ||= ARGV.last || begin
|
21
|
-
if available_pipelines.one?
|
22
|
-
available_pipelines.first
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
14
|
end
|
27
15
|
end
|
28
16
|
end
|