From f10b243a42d470a6a826f848c5f993b54f0f01a1 Mon Sep 17 00:00:00 2001 From: bd <331677620@qq.com> Date: Fri, 3 May 2024 18:59:48 +0800 Subject: [PATCH] test: changesets --- changeset-status.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changeset-status.cjs b/changeset-status.cjs index 7317235..fb8e508 100644 --- a/changeset-status.cjs +++ b/changeset-status.cjs @@ -22,7 +22,8 @@ const timestamp = `${year}${month}${day}${hours}${minutes}${seconds}`; process.env.TIMESTAMP = timestamp; -const changedPackages = [...new Set(status.releases.map(({ name }) => `- ${name}@0.0.0-prepublish-${timestamp}`))].join('\n '); +const changedPackages = [...new Set(status.releases.map(({ name }) => + `- [${name}@0.0.0-prepublish-${timestamp}](https://www.npmjs.com/package/${name}/v/0.0.0-prepublish-${timestamp})`))].join('\n '); core.setOutput('changedPackages', changedPackages); console.log('Updating pre-publish version...');