changelog_latest

in release_tool_utils.rb [39:52]


def changelog_latest
  
  changelog = File.open('CHANGELOG.md', 'r', encoding: 'UTF-8', &:read)
  lines = []
  changelog.lines.to_a[3..].each do |line|
    
    
    break if line =~ /^\d+\.\d+\.\d+(\.[.\w]+)? [( ]\d\d\d\d-\d\d-\d\d[)]/

    lines << line
  end
  lines[0..-2].join
end