RoboFile.php
public function releaseNotes(
    $tag,
    $github_token,
    $options = [
      'prev-tag' => NULL,
    ]
  ) {
    $current_branch = $this->getCurrentBranch();
    $prev_tag = $this->getPrevTag($options, $current_branch);

    // @todo Check git version.
    $changes = $this->generateReleaseNotes($tag, $prev_tag, $github_token);
    $this->updateChangelog($tag, $changes);
  }
public function releaseNotes(
    $tag,
    $github_token,
    $options = [
      'prev-tag' => NULL,
    ]
  ) {
    $current_branch = $this->getCurrentBranch();
    $prev_tag = $this->getPrevTag($options, $current_branch);

    // @todo Check git version.
    $changes = $this->generateReleaseNotes($tag, $prev_tag, $github_token);
    $this->updateChangelog($tag, $changes);
  }
public function releaseNotes ( $ tag , $ github_token , $ options = [ 'prev-tag' => NULL , ] ) { $ current_branch = $ this -> getCurrentBranch ( ) ; $ prev_tag = $ this -> getPrevTag ( $ options , $ current_branch ) ; // @todo Check git version. $ changes = $ this -> generateReleaseNotes ( $ tag , $ prev_tag , $ github_token ) ; $ this -> updateChangelog ( $ tag , $ changes ) ; }
Update CHANGELOG.md with notes for new release.

@param string $tag
The tag name. E.g, 8.6.10.
@param string $github_token
A github access token.
@option prev-tag The previous tag on the current branch from which to
determine diff.

@return int
The CLI status code.
Update CHANGELOG . md with notes for new release .