lib/buildkite/builder/commands/run.rb in buildkite-builder-3.8.2 vs lib/buildkite/builder/commands/run.rb in buildkite-builder-3.8.3
- old
+ new
@@ -13,10 +13,10 @@
def run
relative_pipeline_path = pipeline_path.relative_path_from(Builder.root)
# This entrypoint is for running on CI. It expects certain environment
# variables to be set. It also uploads the pipeline to Buildkite.
- log.info "+++ 🧰 #{'Buildkite Builder'.color(:springgreen)} ─ #{relative_pipeline_path.to_s.yellow}"
+ log.info "+++ 🧰 #{'Buildkite Builder'.color(:springgreen)} v#{Buildkite::Builder.version} ─ #{relative_pipeline_path.to_s.yellow}"
if Buildkite::Pipelines::Command.meta_data(:exists, Builder::META_DATA.fetch(:job))
log.info 'Pipeline already uploaded'.color(:dimgray)
else
Pipeline.new(pipeline_path, logger: log).upload