Skip to content

Commit ae70e2b

Browse files
committed
[CI] Chmod permissions to all files after creation in DRA Script
1 parent 8678e1d commit ae70e2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rake_tasks/unified_release_tasks.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ namespace :unified_release do
3333

3434
build_gems(args[:output_dir])
3535
create_zip_file(args[:output_dir])
36+
sh "chmod a+r #{CURRENT_PATH.join(args[:output_dir])}/* && " \
37+
"chmod a+w #{CURRENT_PATH.join(args[:output_dir])}"
3638
end
3739

3840
def build_gems(output_dir)
@@ -47,9 +49,7 @@ namespace :unified_release do
4749
puts "Building #{gem} v#{@version} to #{output_dir}"
4850
sh "cd #{CURRENT_PATH.join(gem)} " \
4951
"&& gem build --silent -o #{gem}-#{@version}.gem && " \
50-
"mv *.gem #{CURRENT_PATH.join(output_dir)} && " \
51-
"chmod a+r #{CURRENT_PATH.join(output_dir)}/* && " \
52-
"chmod a+w #{CURRENT_PATH.join(output_dir)}"
52+
"mv *.gem #{CURRENT_PATH.join(output_dir)}"
5353
end
5454
puts '-' * 80
5555
end

0 commit comments

Comments
 (0)