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

What tokens are available to the auto-changelog config and the handlebar template? #291

Open
ivarlund opened this issue Sep 12, 2024 · 0 comments

Comments

@ivarlund
Copy link

Hi! I really enjoy this tool, great work.

I have two questions:

  1. I am having trouble understanding exactly what different config options i can pass to the .auto-changelog config file.
    for example, I noticed in the last added template consumers should use the replaceText option, which is not defined in the usage part of the documentation.
    I would like to add some custom parser and be able to transform commit messages following an older convention to match my current one.

  2. How can I tell what tokens are available in the handlebar template? For example I override the commitUrl with something like "https://my-repo-url/{repository}/commit/{id}" where {id} works fine but I do not know what to put in the {repository} field to make it dynamic - I assume that the value of this field is used by the template to generate the url, but I am probably missing something here.

Thankful for help or pointers in the right direction, cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant