tasks/nightly_repos.rake in packaging-0.99.3 vs tasks/nightly_repos.rake in packaging-0.99.4
- old
+ new
@@ -203,11 +203,11 @@
target_basedir = args.target_basedir or fail ":target_basedir is a required argument to #{t}"
include_paths = []
if args.foss_only && Pkg::Config.foss_platforms && !Pkg::Config.foss_platforms.empty?
Pkg::Config.foss_platforms.each do |platform|
- include_paths << Pkg::Paths.repo_path(platform, legacy: true)
+ include_paths << Pkg::Paths.repo_path(platform, legacy: true, nonfinal: true)
if Pkg::Paths.repo_config_path(platform)
include_paths << Pkg::Paths.repo_config_path(platform)
end
end
else
@@ -335,10 +335,10 @@
latest_filepath = File.join(tempdir, "pkg")
FileUtils.mkdir_p(latest_filepath)
latest_filename = File.join(latest_filepath, "LATEST")
File.open(latest_filename, 'w') { |file| file.write(version) }
- Pkg::Util::Net.s3sync_to(latest_filepath, target_bucket, Pkg::Config.project, ["--acl-public", "--follow-symlinks"])
+ Pkg::Util::Net.s3sync_to(latest_filename, target_bucket, Pkg::Config.project, ["--acl-public", "--follow-symlinks"])
FileUtils.rm_rf latest_filepath
end
end
end