Skip to content

Commit

Permalink
fix(git): ensure input to shortlog
Browse files Browse the repository at this point in the history
  • Loading branch information
3v0k4 committed Jul 18, 2023
1 parent 9f6daa9 commit 72256bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

### 5.2.1

* Shallow fetch the last month of commits only on CI
* Ensure input to `git shortlog`

https://github.com/KnapsackPro/knapsack_pro-ruby/pull/209

https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v5.2.0...v5.2.1

### 5.2.0

* Send authors to the API
Expand Down
2 changes: 1 addition & 1 deletion lib/knapsack_pro/repository_adapters/git_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def git_commit_authors
`git fetch --shallow-since "one month ago" --quiet`
end

`git shortlog --summary --email --since "one month ago"`
`git log --since "one month ago" | git shortlog --summary --email`
end

def git_build_author
Expand Down

0 comments on commit 72256bf

Please sign in to comment.