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

Define custom sections into .clog.toml file #101

Open
fedexin40 opened this issue Apr 3, 2017 · 3 comments
Open

Define custom sections into .clog.toml file #101

fedexin40 opened this issue Apr 3, 2017 · 3 comments

Comments

@fedexin40
Copy link

fedexin40 commented Apr 3, 2017

Hi guys @kbknapp I am stuck trying to setup the .clog.toml file to add some customs sections, I dont know what I am doing wrong.

The file looks like

[clog]
repository = "http://gitlab.openpyme.mx/tools/ea_import.git"
outfile = "CHANGELOG.md"
from-latest-tag = true

[sections]
Performance = ["perf", "impr", "im", "imp"]
"Bug Fixes" = ["fix"]
"Code refactor" = ["refactor"]
Feature = ["feat"]

First I placed the file in ~/.clog.toml and I used the instruction to create the file
clog -c ~/.clog.toml -C ea_import/CHANGES.md -f 3dcdddf612d8b8ab91b1e6546e9e2c824b5c04d0 --setversion 1.1.0
After that I put the file into the same directory than my repository but the result is always the same, a file which contains only a header tag

Could you help or guide me please?

I am using clog v0.9.3

@kbknapp
Copy link
Member

kbknapp commented Apr 3, 2017

Try removing the from-latest-tag line. Does it still only show a header?

@fedexin40
Copy link
Author

Yes I have the same result, all work okay if I dont use a custom configuration.

@fedexin40
Copy link
Author

fedexin40 commented May 3, 2017

After a while looking around
clog -c ~/.clog.toml -g . -C ea_import/CHANGES.md -f 3dcdddf612d8b8ab91b1e6546e9e2c824b5c04d0 --setversion 1.1.0

I needed to use --git-dir in somewhere

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

2 participants