Skip to content

Commit

Permalink
chore: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
renatav committed Aug 15, 2023
1 parent d6eda4a commit 7dca5cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ and this project adheres to [Semantic Versioning][semver].

### Fixed

- fix commits per repositories function when same target commits are on different branches ([337])
- Add missing `write` flag to `taf targets sign` ([329])

[337]: https://github.com/openlawlibrary/taf/pull/337
[330]: https://github.com/openlawlibrary/taf/pull/330
[329]: https://github.com/openlawlibrary/taf/pull/329

Expand Down
5 changes: 4 additions & 1 deletion taf/auth_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,10 @@ def sorted_commits_and_branches_per_repositories(
target_commit = target_data.get("commit")
previous_data = previous_commits.get(target_path)
target_data.setdefault("custom", {})
if previous_data is None or (target_commit, target_branch) != previous_data:
if (
previous_data is None
or (target_commit, target_branch) != previous_data
):
if custom_fns is not None and target_path in custom_fns:
target_data["custom"].update(
custom_fns[target_path](target_commit)
Expand Down

0 comments on commit 7dca5cf

Please sign in to comment.