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

Allow providing custom domain name for provider #46

Closed weierophinney closed 5 years ago

weierophinney commented 5 years ago

Per a request made on #45, this patch makes the provider domain configurable. GitLab allows users to self-host or set a CNAME for the installation. As such, the domain name can vary from just gitlab.com.

This patch adds the ability to specify the domain name in relevant commands via:

When provided, that domain will be used for determining the git remote to which to push tags, as well as for creating URLs for creating releases and changelog merge request links.