Skip to content

Generated link to commits/tags is wrong #93

Closed
@slhck

Description

I am using auto-changelog v1.11.0.

The repository, which is hosted on a GitLab server, has the following remotes:

➜ git remote -v
origin  git@git.example.com:foo/bar-baz/foo-bar.git (fetch)
origin  git@git.example.com:foo/bar-baz/foo-bar.git (push)

I generate the changelog:

➜ auto-changelog
auto-changelog: 81 kB written to CHANGELOG.md

When I inspect the changelog:

➜ head CHANGELOG.md
### Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.52.1](https://git.example.com/foo/bar-baz/compare/v0.50.7...v0.52.1)

> 21 February 2019

As you can see, the link foo/bar-baz/compare is missing the project name (foo-bar).

The correct link would be:

https://git.example.com/foo/bar-baz/foo-bar/compare/v0.50.7...v0.52.1

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions