Skip to content

html_url and url are both pointing to 'https://api.github.com..' #140

Closed

Description

@phun-ky

Using:

gren changelog --include-messages=all -B --override

gren -V
0.15.0

With this template:

{
  "dataSource": "commits",
  "prefix": "",
  "includeMessages": "all",
  "changelogFilename": "CHANGELOG.md",
  "template": {
    "commit": "- [{{message}}]({{html_url}}) - {{author}}",
    "issue": "- {{labels}} {{name}} [{{text}}]({{html_url}})",
    "label": "[**{{label}}**]",
    "noLabel": "closed",
    "group": "\n#### {{heading}}\n",
    "changelogTitle": "# Changelog\n\n",
    "release": "## {{release}} ({{date}})\n{{body}}",
    "releaseSeparator": "\n---\n\n"
  }
}

The {{html_url}} or {{url}} is returning https://api.github.com/repo, and not the HTML URL which seems to be intended

Activity

  1. changed the title [-]html_url and url are both pointing to ''*[/-] [+]html_url and url are both pointing to 'https://api.github.com..'[/+] on Mar 1, 2018
  2. phun-ky commented on Mar 1, 2018

    @phun-ky
    Author

    nice @alexcanessa ! will test this directly, and see if it works! Could you build a prerelease with this option?

  3. alexcanessa commented on Mar 2, 2018

    @alexcanessa
    Member

    @phun-ky just checkout master and run npm i -g . to use gren from your local folder and test 👍

  4. added a commit that references this issue on Mar 6, 2018
    1372f48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions