You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to create a CHANGELOG for a repo, that already had some history and releases - thankfully the commits were all in the same style. Let's assume the repo already had two releases: 0.1.0 and 0.2.0.
So I expcted, that after the execution of the following commands, I would have a CHANGELOG file with the correct history.
As the docu stated --from and --to assume a commit hash. But after frustation of why clog didn't found the commit hash, I looked into the code and found, that --from works only with a version tag - which it then did. But for --to neither a version tag nor a commit hash worked and I couldn't find any actual implementation for that CLI option, either.
The text was updated successfully, but these errors were encountered:
I have made a pull request (#86) which fixes this. However IME it does support commits as well as tags for --from, and now --to. From looking at the clog-lib source code, it looks like it just passes the version string straight to the git command (see here), which according to the docs should work with tags and commit hashes.
I wanted to create a CHANGELOG for a repo, that already had some history and releases - thankfully the commits were all in the same style. Let's assume the repo already had two releases:
0.1.0
and0.2.0
.So I expcted, that after the execution of the following commands, I would have a CHANGELOG file with the correct history.
As the docu stated
--from
and--to
assume a commit hash. But after frustation of why clog didn't found the commit hash, I looked into the code and found, that--from
works only with a version tag - which it then did. But for--to
neither a version tag nor a commit hash worked and I couldn't find any actual implementation for that CLI option, either.The text was updated successfully, but these errors were encountered: