tasks/cut_release.rake in rubocop-solidus-0.1.4 vs tasks/cut_release.rake in rubocop-solidus-0.2.0

- old
+ new

@@ -10,14 +10,14 @@ end end def add_header_to_changelog(version) changelog = File.read('CHANGELOG.md') - head, tail = changelog.split("## master (unreleased)\n\n", 2) + head, tail = changelog.split("## main (unreleased)\n\n", 2) File.open('CHANGELOG.md', 'w') do |f| f << head - f << "## master (unreleased)\n\n" + f << "## main (unreleased)\n\n" f << "## #{version} (#{Time.now.strftime('%F')})\n\n" f << tail end end