tasks/retrieve.rake in packaging-0.106.0 vs tasks/retrieve.rake in packaging-0.106.1
- old
+ new
@@ -11,11 +11,11 @@
namespace :pl do
namespace :jenkins do
desc "Retrieve packages from the distribution server\. Check out commit to retrieve"
- task :retrieve, [:remote_target, :local_target] => 'pl:fetch' do |t, args|
+ task :retrieve, %i[remote_target local_target] => 'pl:fetch' do |t, args|
unless Pkg::Config.project
fail "You must set the 'project' in build_defaults.yaml or with the 'PROJECT_OVERRIDE' environment variable."
end
remote_target = args.remote_target || "artifacts"
local_target = args.local_target || "pkg"
@@ -35,10 +35,10 @@
if Pkg::Config.build_pe
namespace :pe do
namespace :jenkins do
desc "Retrieve packages from the distribution server\. Check out commit to retrieve"
- task :retrieve, [:remote_target, :local_target] => 'pl:fetch' do |t, args|
+ task :retrieve, %i[remote_target local_target] => 'pl:fetch' do |t, args|
unless Pkg::Config.project
fail "You must set the 'project' in build_defaults.yaml or with the 'PROJECT_OVERRIDE' environment variable."
end
remote_target = args.remote_target || "artifacts"
local_target = args.local_target || "pkg"