Skip to content

Commit

Permalink
fix(notify): bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Dec 21, 2023
1 parent 7371a77 commit 10df3fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
24 changes: 11 additions & 13 deletions packages/notify/lib/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,17 @@ function getCommits() {
: sortBy(
Object.entries(
groupBy(
gitlog
.default({
repo: '.',
since: GIT_PREVIOUS_COMMIT,
until: GIT_COMMIT,
fields: ['hash', 'abbrevHash', 'subject'],
})
.map(({ abbrevHash, hash, subject }) => ({
hash,
abbrevHash,
message: sync(subject),
subject,
})),
gitlog({
repo: '.',
since: GIT_PREVIOUS_COMMIT,
until: GIT_COMMIT,
fields: ['hash', 'abbrevHash', 'subject'],
}).map(({ abbrevHash, hash, subject }) => ({
hash,
abbrevHash,
message: sync(subject),
subject,
})),
({ message }) => message.type,
),
),
Expand Down
2 changes: 1 addition & 1 deletion packages/notify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bring-it/notify",
"version": "0.2.1",
"version": "0.2.2",
"description": "Send releases notifications",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 10df3fe

Please sign in to comment.