Skip to content

Commit d867df5

Browse files
committed
use the usual package output directory for build summary
This simplifies things for windows where we are currently outputing the summary into the sources location instead of the usual output one. No change is expected on linux where the package_dir is a subdirectory of the project_root
1 parent 27b5132 commit d867df5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/omnibus/project.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ def store_package_duration(packager, duration)
14811481
end
14821482

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

0 commit comments

Comments
 (0)