lib/buildkite/builder.rb in buildkite-builder-3.8.2 vs lib/buildkite/builder.rb in buildkite-builder-3.8.3

- old
+ new

@@ -33,9 +33,13 @@ def root(start_path: Dir.pwd, reset: false) @root = nil if reset @root ||= find_buildkite_directory(start_path) end + def version + @version ||= File.read(File.expand_path('../../VERSION', __dir__)).strip + end + def template(&block) Definition::Template.new(&block) if block_given? end def pipeline(&block)