buildkite-builder 2.4.0 → 2.4.1

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: 4c4c2623f11f578f2839830abd97f02de9189aca48838b51af749a2ed63b5d43
4
- data.tar.gz: 80ad9118885ca08b62b9d849f5bde06d60ab8ed13095921a4bf017c1b23754f1
3
+ metadata.gz: b6e19458f7245c430927899fcb8a0a9d109abb85980dc9dd64ca679efec89617
4
+ data.tar.gz: 85593b91b77405e8e9fadbf4c485e86a4ce0c62747dacd3422c8e08e5c228666
5
5
  SHA512:
6
- metadata.gz: faf4b6d95c5ce06432dec04ddc53df0b6ca4a0e8e0986fe5798b02678513847f1bc1dc6cfa4e3a81d603d0aad5db55e6b7f7ece5f21801fb92e52ae8e6895d68
7
- data.tar.gz: 8c134596ebac502f43c0da347dbe36f5db527534b50781623cd3ea0b2e69a8ff6ecb9bfc1cd9ec697b616bcfe7c3804bc728a9c6a70d5c71aecfc4d772fa9931
6
+ metadata.gz: 878daff8f7270bc83de7dfd9d89938c7204bda1a014ed09e5e7c8d1378d1520abb94b102f052fb4312170b1c65a583f218c1b7e7c222b2ae5daed3a67728bcdb
7
+ data.tar.gz: 7365820be85d5d7b5c0123c86d5dd2c0015b15a7ee430c92b47750157f7bec1e3215a9161f212f7aa26e9da3c265352d2ec5fcb757fe761d714bab28d337cfa8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.4.1
2
+ * Fix pipeline upload as artifact logic.
3
+
1
4
  ## 2.4.0
2
5
  * Upload custom pipeline artifacts in a single command.
3
6
  * Only upload the pipeline as an artifact when the pipeline upload fails.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.0
1
+ 2.4.1
@@ -52,9 +52,10 @@ module Buildkite
52
52
  file.write(contents)
53
53
 
54
54
  logger.info "+++ :pipeline: Uploading pipeline"
55
- unless Buildkite::Pipelines::Command.pipeline!(:upload, file.path)
55
+ unless Buildkite::Pipelines::Command.pipeline(:upload, file.path)
56
56
  logger.info "Pipeline upload failed, saving as artifact…"
57
57
  Buildkite::Pipelines::Command.artifact!(:upload, file.path)
58
+ abort
58
59
  end
59
60
  logger.info "+++ :toolbox: Setting job meta-data to #{Buildkite.env.job_id.color(:yellow)}"
60
61
  Buildkite::Pipelines::Command.meta_data!(:set, Builder::META_DATA.fetch(:job), Buildkite.env.job_id)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildkite-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ngan Pham