Skip to content

Detect compare URL automatically based on .git information #47

@rcmachado

Description

@rcmachado

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions