hooks/update-version in k_ext-github-0.0.3 vs hooks/update-version in k_ext-github-0.0.4
- old
+ new
@@ -28,6 +28,6 @@
end
output.push('')
printf "%-25<label>s : %<version>s\n", label: 'GEM VERSION', version: version
-File.open('lib/k_ext/github/version.rb', 'w+') { |f| f.write(output.join("\n")) }
+File.write('lib/k_ext/github/version.rb', output.join("\n"))