INNER CODE UNIT · Ruby

create_changelog_update

hibernate/hibernate-ogm · src/main/release-scripts/pre-release.rb:139

def create_changelog_update(release_version)
  interpolated_url = eval '"' + $jira_issues_url + '"'
  jira_issues = get_json interpolated_url
  processed_issues = process_issues(jira_issues)

  max_component_length = calculate_max_component_length(processed_issues)
  issue_type = ''
  change_log_update = release_version + ' (' +  $now.strftime("%d-%m-%Y") + ")\n"
  change_log_update << "-------------------------\n"
  processed_issues.each do |issue|
    current_issue_type = issue['type']
    if issue_type.empty? or !issue_type.eql? current_issue_type
      # create issue type entry
      issue_type = current_issue_type
      change_log_update << "\n** " << issue_type << "\n"
    end

    # issue key

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…