diff options
author | Evan Read <eread@gitlab.com> | 2020-11-06 10:02:41 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2020-11-06 10:02:41 +0300 |
commit | 3dbf25f98c86e77f7b2919633ccdf2b79af550cf (patch) | |
tree | c6ddec5ed5b0e897df5c172be070eef388d3781f /Rakefile | |
parent | 211404eaaa607e2bb4cf0be980ce0aba360f9764 (diff) |
Add Rubocop to project
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,7 +145,7 @@ namespace :release do content.gsub!('X-Y', version.tr('.', '-')) content.gsub!('W-Z', chart_version(version).tr('.', '-')) - open(dockerfile, 'w') do |post| + File.open(dockerfile, 'w') do |post| post.puts content end @@ -157,7 +157,7 @@ namespace :release do ci_yaml_content.gsub!("BRANCH_RUNNER: 'master'", "BRANCH_RUNNER: '"+version.tr('.', '-')+"-stable'") ci_yaml_content.gsub!("BRANCH_CHARTS: 'master'", "BRANCH_CHARTS: '"+chart_version(version).tr('.', '-')+"-stable'") - open(ci_yaml, 'w') do |post| + File.open(ci_yaml, 'w') do |post| post.puts ci_yaml_content end |