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 15, 2023
1 parent 463cf7a commit 978f75a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions packages/notify/lib/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export function createContent({
manual = true,
banner,
isLatest = false,
image,
}) {
return toMarkdown({
type: 'root',
Expand Down Expand Up @@ -125,6 +126,17 @@ export function createContent({
],
}
: undefined,
image
? {
type: 'listItem',
children: [
{
type: 'text',
value: `镜像名称:${image}`,
},
],
}
: undefined,
{
type: 'listItem',
children: [
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.1.3",
"version": "0.1.4",
"description": "Send releases notifications",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 978f75a

Please sign in to comment.