Skip to content

Commit 9caa9d4

Browse files
committed
chore(ci): debug release bundle script
1 parent 0801f3d commit 9caa9d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/bundle-release.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ module.exports = async function({ github, workspace, publishedPackages }) {
1616
for (const { name: packageName, version } of publishedPackages) {
1717
// get the tag for the release for this package
1818
const tag = `${packageName}@${version}`;
19+
1920
const { id } = await github.rest.repos.getReleaseByTag({ owner, repo, tag });
2021

2122
const params = { owner, release_id: id, repo };
2223

24+
// eslint-disable-next-line
25+
console.log({ tag, ...params });
26+
2327
// upload the bundle to each release
2428
await github.rest.repos.uploadReleaseAsset({
2529
...params,

0 commit comments

Comments
 (0)