lib/tasks/helpers/version_bump.rb in newrelic_rpm-9.3.1 vs lib/tasks/helpers/version_bump.rb in newrelic_rpm-9.4.0
- old
+ new
@@ -53,10 +53,10 @@
end
# Replace dev with version number in changelog
def self.update_changelog(version)
file = read_file('CHANGELOG.md')
- file.gsub!(/## dev/, "## v#{version}")
- file.gsub!(/Version <dev>/, "Version #{version}")
+ file.gsub!('## dev', "## v#{version}")
+ file.gsub!('Version <dev>', "Version #{version}")
write_file('CHANGELOG.md', file)
end
end