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

Ability to pass variables to template #25

Closed
marcospassos opened this issue Dec 4, 2013 · 1 comment
Closed

Ability to pass variables to template #25

marcospassos opened this issue Dec 4, 2013 · 1 comment
Labels

Comments

@marcospassos
Copy link
Contributor

Sometimes is necessary to pass some dynamic data to be used in changelog's template. Passing parameters in the command seems a good way to achieve that (only scalar values).

jira-chagelog-builder ... foo=1 bar=http://acme.com

@switchtrue
Copy link
Owner

I doubt we will implement a feature to pass arbitrary flags as this will make the parsing of the command line arguments less robust.

However, #15 proposes a change to allow environment variable to be used in the template. So when this is implemented (sorry no time frame at the moment) you could easily set an environment variable of the dynamic item you want.

In the mean time you could have a step in your build process that dynamically generates the template for you using whatever variables you need.

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

No branches or pull requests

2 participants