Skip to content

Detect compare URL automatically based on .git information #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rcmachado opened this issue Jan 7, 2020 · 0 comments
Open

Detect compare URL automatically based on .git information #47

rcmachado opened this issue Jan 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@rcmachado
Copy link
Owner

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 rcmachado added the enhancement New feature or request label Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant