Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/omnibus/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def build(name)
project.build

if @options[:output_manifest]
FileUtils.mkdir_p("pkg")
File.open(::File.join("pkg", "version-manifest.json"), "w") do |f|
FileUtils.mkdir_p(Omnibus::Config.package_dir)
File.open(::File.join(Omnibus::Config.package_dir, "version-manifest.json"), "w") do |f|
f.write(FFI_Yajl::Encoder.encode(project.built_manifest.to_hash))
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/omnibus/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ def store_package_duration(packager, duration)
end

def write_build_summary
out_path = "#{Config.project_root}/pkg/build-summary.json"
out_path = "#{Config.package_dir}/build-summary.json"
log.info(log_key) { "Writing build summary to #{out_path}" }
File.open(out_path, "w") do |f|
f.write(FFI_Yajl::Encoder.encode(build_summary.to_hash, pretty: true))
Expand Down