Skip to content

Commit

Permalink
test: changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKam committed May 3, 2024
1 parent 803e6c2 commit f10b243
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion changeset-status.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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...');
Expand Down

0 comments on commit f10b243

Please sign in to comment.