fastlane/lib/git.rb
# Makes a changelog from the timespan passed
Makes a changelog from the timespan passed
Makes a changelog from the timespan passed
def make_changelog
  sh('git fetch --unshallow') if travis?
  log = git_changelog
  limit = 4_000
  ending = '…'
  if log.length <= limit
    log
  else
    log[0, log.rindex(/\s/, limit - ending.length)].rstrip + ending
  end
end
def make_changelog sh ( 'git fetch --unshallow' ) if travis? log = git_changelog limit = 4_000 ending = '…' if log . length <= limit log else log [ 0 , log . rindex ( / \s / , limit - ending . length ) ] . rstrip + ending end end
Makes a changelog from the timespan passed
Makes a changelog from the timespan passed