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

Assign commits to versions following their commit graph (fixes #70) #72

Merged
merged 20 commits into from
Mar 14, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/git_changelog/build.py
  • Loading branch information
pawamoy committed Mar 11, 2024
commit 8e1cbab218e3d4f6939ad5e5150c1a3c36180513
2 changes: 1 addition & 1 deletion src/git_changelog/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def is_minor(self) -> bool:
return bool(self.tag.split(".", 2)[2])

def add_commit(self, commit: Commit) -> None:
"""Adds the given commit and assigns it a section based on the chosen commit convention.
"""Register the given commit and add it to the relevant section based on its message convention.

Arguments:
pawamoy marked this conversation as resolved.
Show resolved Hide resolved
commit: The git commit.
Expand Down