File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ namespace :unified_release do
33
33
34
34
build_gems ( args [ :output_dir ] )
35
35
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 ] ) } "
36
38
end
37
39
38
40
def build_gems ( output_dir )
@@ -47,9 +49,7 @@ namespace :unified_release do
47
49
puts "Building #{ gem } v#{ @version } to #{ output_dir } "
48
50
sh "cd #{ CURRENT_PATH . join ( gem ) } " \
49
51
"&& 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 ) } "
53
53
end
54
54
puts '-' * 80
55
55
end
You can’t perform that action at this time.
0 commit comments