changelog icon indicating copy to clipboard operation
changelog copied to clipboard

Detect compare URL automatically based on .git information

Open rcmachado opened this issue 5 years ago • 0 comments

When running the changelog command we can detect and build the compare URL based on previous versions already specified in the markdown file.

But if we have a brand new .md with only an Unreleased section, the detection becomes unreliable and we require the user to pass --compare-url flag. If we are operating in a git checkout, we can automatically detect it based on the remote configuration.

The goal is to implement this for GitHub repositories in the first place.

rcmachado avatar Jan 07 '20 21:01 rcmachado