Skip to content
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

Change compare URLs programatically (in bulk) #28

Open
rcmachado opened this issue Aug 5, 2018 · 0 comments
Open

Change compare URLs programatically (in bulk) #28

rcmachado opened this issue Aug 5, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@rcmachado
Copy link
Owner

In a scenario where you migrate the project from one repository provider to another (eg. Bitbucket to GitHub) or even renaming the project, would be nice to automatically change the compare links for each version. Something like:

$ changelog fmt --compare-url "https://example.com/{{.PreviousVersion}}-{{.CurrentVersion}}"

This would reformat the changelog file, updating all the compare URLs using the new template.

(Stolen from olivierlacan/keep-a-changelog#249)

@rcmachado rcmachado added the enhancement New feature or request label Aug 5, 2018
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