Skip to content

Commit

Permalink
Merge pull request #249 from ckb-cell/fix/release-comment
Browse files Browse the repository at this point in the history
fix(ci): comment format in release/snapshot workflows
  • Loading branch information
ShookLyngs committed Jul 5, 2024
2 parents e6fad5a + 969816b commit e23abaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
with:
script: |
const packages = JSON.parse(process.env.PACKAGES)
const packagesTable = packages.map((p) => `| ${p.name} | \`${p.version}\` |`)
const packagesTable = packages.map((p) => `| ${p.name} | \`${p.version}\` |`).join('\n')
const body = ['New official version of the rgbpp-sdk packages have been released:', '| Name | Version |', '| --- | --- |', packagesTable].join('\n')
github.rest.repos.createCommitComment({
commit_sha: context.sha,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
with:
script: |
const packages = JSON.parse(process.env.PACKAGES)
const packagesTable = packages.map((p) => `| ${p.name} | \`${p.version}\` |`)
const packagesTable = packages.map((p) => `| ${p.name} | \`${p.version}\` |`).join('\n')
const body = ['New snapshot version of the rgbpp-sdk packages have been released:', '| Name | Version |', '| --- | --- |', packagesTable].join('\n')
github.rest.repos.createCommitComment({
commit_sha: context.sha,
Expand Down

1 comment on commit e23abaa

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New snapshot version of the rgbpp-sdk packages have been released:

Name Version
@rgbpp-sdk/btc 0.0.0-snap-20240705102340
@rgbpp-sdk/ckb 0.0.0-snap-20240705102340
rgbpp 0.0.0-snap-20240705102340
@rgbpp-sdk/service 0.0.0-snap-20240705102340

Please sign in to comment.