phly / keep-a-changelog

Tools for manipulating CHANGELOG.md files in Keep A Changelog format, including tagging and releasing.
https://phly.github.io/keep-a-changelog/
BSD 2-Clause "Simplified" License
182 stars 23 forks source link

Generated Merge Request link description is invalid #36

Closed c33s closed 5 years ago

c33s commented 5 years ago
- [#130](https://gitlab.com/username/project/merge_requests/130) My New Entry

should be:

- [!130](https://gitlab.com/username/project/merge_requests/130) My New Entry

in gitlab issues and merge requests differ. merge requests are prefixed with ! like !130, issues are prefixed with # like on github.

for gitlab it is also relevant to link to merge requests or issues or maybe both.

weierophinney commented 5 years ago

I'm working on a fix for the markup now, and will have a pull request shortly.

In terms of differentiating between issues and merge requests, the reason the various entry:* commands only accept the --pr argument is because typically an issue will not make changes to code, while a patch will. As such, I will only address the markup syntax at this time.

weierophinney commented 5 years ago

This was fixed in 1.6.0.